Expand description
Microsoft Graph messages (users.messages): list, delta, get (JSON
and raw MIME), create draft (JSON and raw MIME), update, delete,
move, copy, send and the nested attachments collection.
https://learn.microsoft.com/en-us/graph/api/resources/message
Modules§
- attachments
- Microsoft Graph message attachments
(
users.messages.attachments): create, list, get raw content, delete. - copy
- Copy a Microsoft Graph message to a folder
(
POST /me/messages/{id}/copy); returns the new copy. - create
- Create a Microsoft Graph draft message (
POST /me/messagesorPOST /me/mailFolders/{id}/messages). - create_
mime - Create a Microsoft Graph message from raw MIME (
POST /me/messagesorPOST /me/mailFolders/{folder}/messages); the MIME is base64-encoded and posted astext/plain, as Graph requires, and the created draft message resource is returned. - delete
- Delete a Microsoft Graph message (
DELETE /me/messages/{id}). - delta
- Track changes to Microsoft Graph messages
(
GET /me/messages/deltaorGET /me/mailFolders/{id}/messages/delta). - get
- Get a Microsoft Graph message (
GET /me/messages/{id}). - get_raw
- Get the raw MIME content of a Microsoft Graph message
(
GET /me/messages/{id}/$value). - list
- List Microsoft Graph messages (
GET /me/messagesorGET /me/mailFolders/{id}/messages). - move
- Move a Microsoft Graph message to a folder
(
POST /me/messages/{id}/move); creates a copy in the destination and returns it with a new id. - send
- Send a Microsoft Graph draft message
(
POST /me/messages/{id}/send); the draft is moved to Sent Items. - update
- Update a Microsoft Graph message (
PATCH /me/messages/{id}); used to changeisRead, the follow-up flag, categories, etc.
Structs§
- Msgraph
Email Address - A named email address (
recipient.emailAddress). - Msgraph
Followup Flag - Follow-up flag set on a message.
- Msgraph
Item Body - The body of a message, in text or HTML format.
- Msgraph
Message - A message in a mail folder. Doubles as the create/update body, where only the set (non-empty) fields are serialized.
- Msgraph
Recipient - A message recipient, wrapping an email address.
Enums§
- Msgraph
Body Type - Format of a message body.
- Msgraph
Flag Status - Status of a follow-up flag.
- Msgraph
Importance - Importance of a message.