Mail

Mail Connection Provider lets you send email notification.

This connector is available in the following products and regions:

Service Class Regions
Power Automate Standard All Power Automate regions except the following:
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Power Apps Standard All Power Apps regions except the following:
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Contact
Name Microsoft
URL Microsoft Power Automate Support
Microsoft Power Apps Support
Connector Metadata
Publisher Microsoft

Important

This notification is not meant to be used in high risk scenario. This is because all the mails will use IP 198.37.145.8 and it can have a bad reputation if a particular user makes it land in a blocked list. We try to mitigate as much as possible by limiting the number of mails a particular connection can send. For critical scenarios where mails cannot be lost we recommend using a different mail delivery connector: Office 365 Outlook, Gmail, SMTP, etc.

Known Issues and Limitations

If you choose the Send an email notification (V3) action and you do not receive a notification, please try the following:

  1. Use this form to manage your subscription preferences.

  2. Verify message traces with the help of your Admin (/exchange/monitoring/trace-an-email-message/run-a-message-trace-and-view-results). If you or your Admin see the following trace, that means that your message is lost once it arrives to your organization's servers:

    origin_timestamp sender_address recipient_status message_subject total_bytes message_id network_message_id original_client_ip directionality connector_id delivery_priority
    2019-02-31T17:27:29.0987602Z microsoft@powerapps.com [EmailRemoved]##Receive, Deliver Subject of the mail not received <SomeIDThatEndsWIth.sendgrid.net> SomeGUID XXX.XXX.XXX.XXX Incoming Normal
  3. Ensure that your Admin allows IP 198.37.145.8 to deliver messages to your organization.

  4. The unsubscribe link cannot be removed from the email body due to General Data Protection Regulation (GDPR) compliance.

Note

The Mail connector is currently restricted for new tenants. Please consider using alternatives like Office 365 Outlook, Gmail, SendGrid connector instead.

Subscribe/Unsubscribe process

After you submit the form to manage subscription preferences, you will:

  1. Receive an email from flowmail@microsoft.com, with the subject: Please confirm request to subscribe/unsubscribe <email>

  2. Select the appropriate action: Subscribe/Unsubscribe.

  3. Receive a new email from flowmail@microsoft.com with the subject: Request to subscribe/unsubscribe <email> was processed

    You can only expect the changes to take place after receiving the second email.

Note

Please make sure that the email address tied to the subscription is spelled correctly. Some organizations allow names (First.Lastname@company.com) as well as aliases (flastname@company.com).

Throttling Limits

Name Calls Renewal Period
API calls per connection 100 24 hours
API calls per connection 5 5 minutes
Recipients per connection 10 000 24 hours

Note

We have had reports of customers trying to use this notification to send spam, for that reason we are lowering the limits to 5 mails per 5 minutes in addition to the 100 mails per 24 hours limit we already have in place. Each email will count as only one API call per connection, even if there is more than one recipient in the To, Cc, or Bcc fields. However, if you need more quota for sending messages, the workaround would be to use Send an email (V2) action from Office 365 Outlook connector. There is a limit of two connections per user for this connector. There is a recipient quota of 10 000 per day per connection.

General Limits

Name Value
Connections per account 2

Creating a connection

The connector supports the following authentication types:

Default Parameters for creating connection. All regions Not shareable

Default

Applicable: All regions

Parameters for creating connection.

This is not shareable connection. If the power app is shared with another user, another user will be prompted to create new connection explicitly.

Throttling Limits

Name Calls Renewal Period
API calls per connection 5 300 seconds

Actions

Send an email notification (V3)

Send an email notification to the specified email addresses.

Send an email notification [DEPRECATED]

This action has been deprecated. Please use Send an email notification (V3) instead.

Send an email notification to the specified email addresses.

Send an email notification (V3)

Send an email notification to the specified email addresses.

Parameters

Name Key Required Type Description
To
to True string

A list of valid email addresses separated by a semicolon or a comma.

To Names
toname string

A display name for each email address separated by a semicolon or a comma.

Subject
subject True string

The subject of the email.

Body
text True html

The content of the email.

CC
cc string

A list valid email addresses to CC separated by a semicolon or a comma.

CC Names
ccname string

A display name for each CC email address separated by a semicolon or a comma.

BCC
bcc string

A list of valid email addresses to BCC separated by a semicolon or a comma.

BCC Names
bccname string

A display name for each BCC email address separated by a semicolon or a comma.

Attachment
files byte

The file content to send as an attachment.

Attachment File Name
filenames string

The file name for the attachment.

Returns

response
object

Send an email notification [DEPRECATED]

This action has been deprecated. Please use Send an email notification (V3) instead.

Send an email notification to the specified email addresses.

Parameters

Name Key Required Type Description
To
to True string

A list of valid email addresses separated by a semicolon or a comma.

To Names
toname string

A display name for each email address separated by a semicolon or a comma.

Subject
subject True string

The subject of the email.

Body
text True string

The content of the email.

Is Html
ishtml boolean

Specify whether the content of the email is HTML or plain text.

CC
cc string

A list valid email addresses to CC separated by a semicolon or a comma.

CC Names
ccname string

A display name for each CC email address separated by a semicolon or a comma.

BCC
bcc string

A list of valid email addresses to BCC separated by a semicolon or a comma.

BCC Names
bccname string

A display name for each BCC email address separated by a semicolon or a comma.

Attachment
files byte

The file content to send as an attachment.

Attachment File Name
filenames string

The file name for the attachment.

Returns

response
object

Definitions

object

This is the type 'object'.