File tree Expand file tree Collapse file tree 5 files changed +605
-8
lines changed
Expand file tree Collapse file tree 5 files changed +605
-8
lines changed Original file line number Diff line number Diff line change 1717from ms_graph .drive_items import DriveItems
1818from ms_graph .search import Search
1919from ms_graph .personal_contacts import PersonalContacts
20+ from ms_graph .mail import Mail
2021
2122
2223class MicrosoftGraphClient ():
@@ -397,7 +398,7 @@ def notes(self) -> Notes:
397398
398399 ### Returns
399400 ---
400- Groups :
401+ Notes :
401402 The `Notes` services Object.
402403 """
403404
@@ -411,7 +412,7 @@ def search(self) -> Search:
411412
412413 ### Returns
413414 ---
414- Groups :
415+ Search :
415416 The `Search` services Object.
416417 """
417418
@@ -425,11 +426,25 @@ def personal_contacts(self) -> PersonalContacts:
425426
426427 ### Returns
427428 ---
428- Groups :
429+ PersonalContacts :
429430 The `PersonalContacts` services Object.
430431 """
431432
432433 # Grab the `PersonalContacts` Object for the session.
433434 personal_contacts_object : PersonalContacts = PersonalContacts (session = self .graph_session )
434435
435436 return personal_contacts_object
437+
438+ def mail (self ) -> Mail :
439+ """Used to access the Mail Services and metadata.
440+
441+ ### Returns
442+ ---
443+ Mail:
444+ The `Mail` services Object.
445+ """
446+
447+ # Grab the `Mail` Object for the session.
448+ mail_service : Mail = Mail (session = self .graph_session )
449+
450+ return mail_service
You can’t perform that action at this time.
0 commit comments