Mailgun
App · Email · 2 actions
Send and track emails with Mailgun.
Get domain stats
Get summary statistics for email events, such as delivered or opened, on your Mailgun domain. Requires a full-access account API key; a domain-restricted Sending key cannot read stats.
Inputs
- Event
eventtextRequired - The email event to report on.One of:
accepted,delivered,failed,opened,clicked,unsubscribed,complained,stored. - Start date
start_datetextRequired - Start date (YYYY-MM-DD).
- End date
end_datetextRequired - End date (YYYY-MM-DD).
- Group results by
resolutiontext - Optional grouping for the results.One of:
hour,day,month.
Outputs
statsobject- Stats details.
Example output
{
"stats": {}
}Send an email
Send a plain text or HTML email through a Mailgun sending domain.
Inputs
- From email
from_emailtextRequired - Sender email address (must belong to the Mailgun domain).
- To
totextRequired - Recipient email address or comma-separated list.
- Subject
subjecttextRequired - Subject line for the email.
- Body (plain text)
texttextRequired - Plain text body.
- Body (HTML)
htmltext - Optional HTML version of the email body.
- CC
cctext - Optional CC recipients (comma-separated).
- BCC
bcctext - Optional BCC recipients (comma-separated).
Outputs
resultobject- Result details.
Example output
{
"result": {}
}