Mandrill

Mandrill

Mandrill is a transactional email API for MailChimp users. It's reliable, powerful, and ideal for sending data driven emails, including targeted e-commerce and personalized one-to-one messages.

This connector is available in the following products and regions:

Service Class Regions
Logic Apps Standard All Logic Apps regions except the following:
     -   Azure Government regions
     -   Azure China regions
Flow Premium All Flow regions except the following:
     -   US Government (GCC)
PowerApps Premium All PowerApps regions except the following:
     -   US Government (GCC)

Throttling Limits

Name Calls Renewal Period
API calls per connection 1200 60 seconds

Creating a connection

To connect your account, you will need the following information:

Mandrill API Key
securestring
Mandrill API Key

Actions

Current user info

Return the information about the API-connected user.

Returns

Body
UserInfo

the user information including username, key, reputation, quota, and historical sending stats

List scheduled message

Queries your scheduled emails.

Optional Parameters

To
string
Optional recipient email address to restrict results to

Returns

Send mail

Send a new transactional message through Mandrill.

Required Parameters

Text content of the message
string
Full text content to be sent
Subject
string
Message subject
From Email
string
Sender email address
Email
string
Email address of the recipient

Optional Parameters

HTML Text
string
Full HTML content to be sent
From Name
string
Sender email name
Name
string
Display name of the recipient
Send As
string
Send type (to, cc, bcc)
Extra headers
string
Extra headers to add to the message (most headers are allowed)
Is this message Important (true/false)?
boolean
Whether or not this message is important, and should be delivered ahead of non-important messages
Track when message opens (true/false)?
boolean
Whether or not to turn on open tracking for the message
Track clicks for this message (true/false)?
boolean
Whether or not to turn on click tracking for the message
Fill text message if not present (true/false)?
boolean
Whether or not to automatically generate a text part for messages that are not given text
Fill HTML message if not present (true/false)?
boolean
Whether or not to automatically generate an HTML part for messages that are not given HTML
Inline CSS Styles in Html message (true/false)?
boolean
Whether or not to automatically inline all CSS styles provided in the message HTML - only for HTML documents less than 256KB in size
Strip query string from URL in aggregated data (true/false)?
boolean
Whether or not to strip the query string from URLs when aggregating tracked URL data
Show all recipients in 'To' line (true/false)?
boolean
Whether or not to expose all recipients in to "To" header for each email
Remove content logging (true/false)?
boolean
Whether or not to log content. Set to false to remove content logging for sensitive emails
Optional BCC address
string
Optional address to receive an exact copy of each recipient's email
Custom domaing for tracking
string
Custom domain to use for tracking opens and clicks instead of mandrillapp.com
Tags
string
MIME Type
string
MIME type of the attachment
File Name
string
File name of the attachment
Content
byte
Content of the attachment
Send At
string
When this message should be sent as a UTC timestamp in YYYY-MM-DD HH:MM:SS format. If you specify a time in the past, the message will be sent immediately. An additional fee applies for scheduled email, and this feature is only available to accounts with a positive balance.
Enable async (true/false)?
boolean
Enable a background sending mode that is optimized for bulk sending
Dedicated Ip Pool name
string
Name of the dedicated ip pool that should be used to send the message

Returns

Definitions

UserInfo

the user information including username, key, reputation, quota, and historical sending stats

Backlog
integer
Number of emails that are queued for delivery due to exceeding your monthly or hourly quotas
Created at
string
Date and time that the user's Mandrill account was created as a UTC string in YYYY-MM-DD HH:MM:SS format
Hourly Quota
integer
Maximum number of emails Mandrill will deliver for this user each hour. Any emails beyond that will be accepted and queued for later delivery. Users with higher reputations will have higher hourly quotas
Public id
string
Unique, permanent identifier for this user
Reputation
integer
Reputation of the user on a scale from 0 to 100, with 75 generally being a "good" reputation
User Name
string
Username of the user (used for SMTP authentication)
stats
Stats
aggregate summary of the account's sending stats

Stats

aggregate summary of the account's sending stats

all_time
StatStruct
Struct to hold stat information, this struct is shared across stats for today, last_7_days, last_30_days, last_60_days, last_90_days and all_time
last_30_days
StatStruct
Struct to hold stat information, this struct is shared across stats for today, last_7_days, last_30_days, last_60_days, last_90_days and all_time
last_60_days
StatStruct
Struct to hold stat information, this struct is shared across stats for today, last_7_days, last_30_days, last_60_days, last_90_days and all_time
last_7_days
StatStruct
Struct to hold stat information, this struct is shared across stats for today, last_7_days, last_30_days, last_60_days, last_90_days and all_time
last_90_days
StatStruct
Struct to hold stat information, this struct is shared across stats for today, last_7_days, last_30_days, last_60_days, last_90_days and all_time
today
StatStruct
Struct to hold stat information, this struct is shared across stats for today, last_7_days, last_30_days, last_60_days, last_90_days and all_time

StatStruct

Struct to hold stat information, this struct is shared across stats for today, last_7_days, last_30_days, last_60_days, last_90_days and all_time

Clicks
integer
Number of URLS that have been clicked for this user so far today
Complaints
integer
Number of spam complaints for this user
Hard Bounces
integer
Number of emails hard bounced for this user
Rejects
integer
Number of emails rejected for sending this user
Sent
integer
Number of emails sent for this user
Soft Bounces
integer
Number of emails soft bounced for this user
Unique Clicks
integer
Number of unique clicks for emails sent for this user
Unique Opens
integer
Number of times emails have been opened for this user
Unsubscribes
integer
Number of unsubscribes for this user

SendMessageResponse

Information for the message for each recipient containing the key "email" with the email address, and details of the message status for that recipient

Email
string
Email address of the recipient
Message ID
string
message's unique id
Reject Reason
string
Reason for the rejection if the recipient status is "rejected" - one of "hard-bounce", "soft-bounce", "spam", "unsub", "custom", "invalid-sender", "invalid", "test-mode-limit", "unsigned", or "rule
Sending Status
string
Sending status of the recipient - either "sent", "queued", "scheduled", "rejected", or "invalid"

ListScheduledInfo

Information about a specific smtp event

Message ID
string
Message's unique id
Recipient's Email
string
Email address of the recipient
Recipient's Status
string
Sending status of the recipient - either "sent", "queued", "scheduled", "rejected", or "invalid"
Rejection Reason
string
Reason for the rejection if the recipient status is "rejected" - one of "hard-bounce", "soft-bounce", "spam", "unsub", "custom", "invalid-sender", "invalid", "test-mode-limit", "unsigned", or "rule"