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 Thumbprint
  • certificate_thumbprint — Certificate Thumbprint
  • private_key — Private Key
  • self_deployed — Use a self deployed Azure application
  • use_managed_identities — Use Azure Managed Identities
  • managed_identities_client_id
  • isFetch — Fetch incidents
  • mailbox_to_fetch — Email address from which to fetch incidents
  • folder_to_fetch — Name of the folder or sub-folder from which to fetch incidents
  • first_fetch — First fetch timestamp
  • timeout — HTTP Timeout
  • fetch_limit — Maximum number of emails to pull per fetch
  • incidentType — Incident type
  • _auth_id — ID or Client ID
  • _tenant_id — Token or Tenant ID
  • enc_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 body
  • mark_fetched_read — Mark fetched emails as read
  • look_back — Advanced: Time in minutes to look back when fetching emails
  • insecure — Trust any certificate (not secure)
  • proxy — Use system proxy settings
  • legacy_name — Use legacy attachment name

Commands (26)

  • msgraph-mail-auth-reset

    Run this command if for some reason you need to rerun the authentication process.

  • msgraph-mail-create-draft

    Creates a draft message in the specified user's mailbox.

  • msgraph-mail-create-folder

    Creates a new folder under the specified folder (parent).

  • msgraph-mail-create-rule

    Creates 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-email

    Deletes an email.

  • msgraph-mail-delete-folder

    Deletes the specified mail folder.

  • msgraph-mail-delete-rule

    Deletes a specific email rule by ID from a user's mailbox using the Microsoft Graph API.

  • msgraph-mail-get-attachment

    Gets an attachment from the email.

  • msgraph-mail-get-email

    Returns the properties of an email.

  • msgraph-mail-get-email-as-eml

    Retrieves an email message by message ID and uploads the content as an EML file.

  • msgraph-mail-get-mailtips

    Retrieves 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-rule

    Get details of a specific email rule by ID for a user's mailbox using Microsoft Graph API.

  • msgraph-mail-get-settings

    Retrieves the user's mailbox settings, including automatic replies, time zone, locale, working hours, date/time formats, archive folder, and user purpose.

  • msgraph-mail-list-attachments

    Lists all of the attachments of given email.

  • msgraph-mail-list-child-folders

    Returns the folder list under the specified folder.

  • msgraph-mail-list-emails

    Gets 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-folders

    Returns the mail folder list directly under the root folder.

  • msgraph-mail-list-rules

    List email rules for a user's mailbox using Microsoft Graph API.

  • msgraph-mail-move-email

    Moves a message to a different folder.

  • msgraph-mail-reply-to

    The replies to the recipients of a message.

  • msgraph-mail-send-draft

    Sends a draft email using Microsoft Graph.

  • msgraph-mail-update-email-status

    Update the status of an email to read / unread.

  • msgraph-mail-update-folder

    Updates the properties of the specified folder.

  • msgraph-mail-update-rule

    Updates 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-mail

    Replies to an email using Graph Mail.

  • send-mail

    Sends an email using Microsoft Graph.