| Name | Description | |------------------------------|--------------------------------------------------------------------------------| | Microsoft.CreateDraftEmail | Compose a new draft email in Outlook | | Microsoft.UpdateDraftEmail | Update an existing draft email in Outlook | | Microsoft.CreateAndSendEmail | Create and immediately send a new email in Outlook to the specified recipients | | Microsoft.SendDraftEmail | Send an existing draft email in Outlook | | Microsoft.ReplyToEmail | Reply only to the sender of an existing email in Outlook | | Microsoft.ReplyAllToEmail | Reply to all recipients of an existing email in Outlook | | Microsoft.ListEmails | List emails in the user's mailbox across all folders | | Microsoft.ListEmailsInFolder | List the user's emails in the specified folder |
23 lines
672 B
Python
23 lines
672 B
Python
from enum import Enum
|
|
|
|
|
|
class WellKnownFolderNames(str, Enum):
|
|
"""Well-known folder names that are created for users by default.
|
|
Instead of using the ID of these folders, you can use the well-known folder names.
|
|
For a list of all well-known folder names, see: https://learn.microsoft.com/en-us/graph/api/resources/mailfolder?view=graph-rest-1.0
|
|
"""
|
|
|
|
DELETED_ITEMS = "deleteditems"
|
|
DRAFTS = "drafts"
|
|
INBOX = "inbox"
|
|
JUNK_EMAIL = "junkemail"
|
|
SENT_ITEMS = "sentitems"
|
|
STARRED = "starred"
|
|
TODO = "tasks"
|
|
|
|
|
|
class ReplyType(str, Enum):
|
|
"""The type of reply to send to an email."""
|
|
|
|
REPLY = "reply"
|
|
REPLY_ALL = "reply_all"
|