Microsoft 365 Email

The Microsoft 365 Email modules allow you to watch, create, update, send, move, and delete messages and message attachments in your Microsoft 365 Email account.

In order to use Microsoft 365 Email with {{Make}}, it is necessary to have a Microsoft 365 Email account. If you do not have one, you can create a Microsoft 365 Email account at office.com.

Connecting Microsoft 365 Email to {{Make}}
Connect using Microsoft account

1. Go to {{Make}} and open the Microsoft 365 Email module's Create a connection dialog.

microsoft-email-1.png

2. Optional: In the Connection name field, enter a name for the connection and click Save.

3. Enter your Microsoft 365 Email account login credentials and confirm the dialog by clicking Yes.

The connection has been established.

For more information about permission, see permission information for various user accounts.

Create a custom app and retrieve client credentials

Before you begin:

  • Make sure you have ClientID and secret ready.

    If you haven't created your credentials yet, you need to create a custom app in your Azure account to generate the CliendID and secret. See Generating credentials in Azure.Generating credentials in Azure

  • Make sure the Microsoft 365 Email application has the following permissions assigned in the Azure portal:

    MS365_AF_permissions.png

To create a connection using own credentials:

  1. Go to {{Make}}, and open the Microsoft 365 Email module's Create a connection dialog.

  2. In the Connection name field, enter a name for the connection.

  3. Click the Show advanced setting toggle.

  4. Enter your credentials and click Save.

Permissions Information for Microsoft 365 Email
  • Add an Attachment - Mail.ReadWrite

  • Create a Draft Message - Mail.ReadWrite

  • Create and Send a Message - Mail.Send, Mail.ReadWrite

  • Delete a Message - Mail.ReadWrite

  • Download an Attachment - Mail.Read

  • Get a Message - Mail.Read

  • List Attachments - Mail.Read

  • Move a Message - Mail.ReadWrite

  • Search Messages - Mail.Read

  • Send a Draft Message - Mail.ReadWrite

  • Update a Message - Mail.ReadWrite

  • Watch Messages - Mail.Read

Message
Watch Messages

Triggers when a new message is sent or received.

Watch Messages in a Shared Folder

Triggers when a new message is sent or retrieved.

Search Messages

Searches for the messages.

Get a Message

Gets the metadata of a specified message.

Create and Send a Message

Creates and sends a new message immediately.

Forward a Message

Forwards a message.

Reply to a Message

Replies to the sender of a message.

Move a Message

Moves a message to a selected folder in the mailbox.

Delete a Message

Deletes a message.

Draft Message
Create a Draft Message

Creates a new draft message.

Send a Draft Message

Sends a draft message.

Update a Message

Updates an existing message.

Attachment
List Attachments

Retrieves a list of attachments to a message.

Download an Attachment

Downloads an attachment to a message.

Add an Attachment

Adds a large attachment to a message.

Other

You can call APIs using the following module.

Make an API Call

Performs an arbitrary authorized API call.

[Note] Note

For the list of available endpoints, refer to the Microsoft 365 Email API Documentation.