MicrosoftGraphMail
Microsoft Graph lets your app get authorized access to a user's Outlook mail data in a personal or organization account.
Email · Microsoft Graph Mail
Configuration parameters
url— Server URL (required)creds_auth_id—creds_tenant_id—credentials—creds_certificate— Certificate Thumbprintcertificate_thumbprint— Certificate Thumbprintprivate_key— Private Keyself_deployed— Use a self deployed Azure applicationuse_managed_identities— Use Azure Managed Identitiesmanaged_identities_client_id—isFetch— Fetch incidentsmailbox_to_fetch— Email address from which to fetch incidentsfolder_to_fetch— Name of the folder or sub-folder from which to fetch incidentsfirst_fetch— First fetch timestamptimeout— HTTP Timeoutfetch_limit— Maximum number of emails to pull per fetchincidentType— Incident type_auth_id— ID or Client ID_tenant_id— Token or Tenant IDenc_key— Key or Client Secret (Deprecated)auth_id— ID or Client ID - see Detailed Instructions (?) (Deprecated)tenant_id— Token or Tenant ID - see Detailed Instructions (?) (Deprecated)display_full_email_body— Display full email bodymark_fetched_read— Mark fetched emails as readlook_back— Advanced: Time in minutes to look back when fetching emailsinsecure— Trust any certificate (not secure)proxy— Use system proxy settingslegacy_name— Use legacy attachment name
Commands (26)
-
msgraph-mail-auth-resetRun this command if for some reason you need to rerun the authentication process.
-
msgraph-mail-create-draftCreates a draft message in the specified user's mailbox.
-
msgraph-mail-create-folderCreates a new folder under the specified folder (parent).
-
msgraph-mail-create-ruleCreates a new mailbox rule in the user's Inbox folder. By default, rules are created as disabled and if no sequence is defined, assigned to the first position in the sequence.
-
msgraph-mail-delete-emailDeletes an email.
-
msgraph-mail-delete-folderDeletes the specified mail folder.
-
msgraph-mail-delete-ruleDeletes a specific email rule by ID from a user's mailbox using the Microsoft Graph API.
-
msgraph-mail-get-attachmentGets an attachment from the email.
-
msgraph-mail-get-emailReturns the properties of an email.
-
msgraph-mail-get-email-as-emlRetrieves an email message by message ID and uploads the content as an EML file.
-
msgraph-mail-get-mailtipsRetrieves Mail Tips for the specified email address, including out-of-office status, mailbox-full status, max message size, delivery restrictions, recipient scope, custom mail tip, and group membership counts.
-
msgraph-mail-get-ruleGet details of a specific email rule by ID for a user's mailbox using Microsoft Graph API.
-
msgraph-mail-get-settingsRetrieves the user's mailbox settings, including automatic replies, time zone, locale, working hours, date/time formats, archive folder, and user purpose.
-
msgraph-mail-list-attachmentsLists all of the attachments of given email.
-
msgraph-mail-list-child-foldersReturns the folder list under the specified folder.
-
msgraph-mail-list-emailsGets the properties of returned emails. Typically shows partial results, use the "page_size" and "pages_to_pull" arguments to get all results.
-
msgraph-mail-list-foldersReturns the mail folder list directly under the root folder.
-
msgraph-mail-list-rulesList email rules for a user's mailbox using Microsoft Graph API.
-
msgraph-mail-move-emailMoves a message to a different folder.
-
msgraph-mail-reply-toThe replies to the recipients of a message.
-
msgraph-mail-send-draftSends a draft email using Microsoft Graph.
-
msgraph-mail-update-email-statusUpdate the status of an email to read / unread.
-
msgraph-mail-update-folderUpdates the properties of the specified folder.
-
msgraph-mail-update-ruleUpdates an existing mailbox rule in the user's Inbox folder by ID. Only the supplied fields are sent in the PATCH body; other fields remain unchanged.
-
reply-mailReplies to an email using Graph Mail.
-
send-mailSends an email using Microsoft Graph.