AppsPricingBlogTry it
Mailgun logo
Mastodon logo

Connect Mailgun to Mastodon

Use 11 documented Mailgun triggers to run 21 documented Mastodon actions.

11 source triggers
21 target actions
Reverse direction supported

Why Connect Mailgun & Mastodon?

Start with a Mailgun event

Choose from 11 documented triggers, including New Bounce (Instant), New Click (Instant), New Complaint (Instant).

Run a Mastodon action

Send the event into one of 21 documented actions, such as Bookmark Status, Boost Status, Delete Status.

Map and review the workflow

Choose the fields and conditions for the workflow, then test the result before activation.

Available Triggers & Actions

Mailgun logo

Mailgun

Triggers (11)

New Bounce (Instant)

Emit new event when the email recipient could not be reached.

webhook
New Click (Instant)

Emit new event when the email recipient clicked on a link in the email. Open tracking must be enabled in the Mailgun control panel, and the CNAME record must be pointing to mailgun.org. See more at the Mailgun User's Manual Tracking Messages section

webhook
New Complaint (Instant)

Emit new event when the email recipient clicked on the spam complaint button within their email client. Feedback loops enable the notification to be received by Mailgun.

webhook
New Delivery (Instant)

Emit new event when an email is sent and accepted by the recipient email server.

webhook
New Delivery Failure (Instant)

Emit new event when an email can't be delivered to the recipient email server.

webhook
New Log Data

Emit new event when new data is logged in Mailgun's Control Panel. Occurs for most actions within the associated Mailgun account.

polling
New Mailing List

Emit new event when a new mailing list is added to the associated Mailgun account.

polling
New Open (Instant)

Emit new event when the email recipient opened the email and enabled image viewing. Open tracking must be enabled in the Mailgun control panel, and the CNAME record must be pointing to mailgun.org. See more at the Mailgun User's Manual Tracking Messages section

webhook
New Permanent Failure (Instant)

Emit new event when an email can't be delivered to the recipient email server due to a permanent mailbox error such as non-existent mailbox.

webhook
New Temporary Failure (Instant)

Emit new event when an email can't be delivered to the recipient email server due to a temporary mailbox error such as an ESP block. ESP is the Email Service Provider managing the recipient email server.

webhook
New Unsubscribe (Instant)

Emit new event when the email recipient clicked on the unsubscribe link. Unsubscribe tracking must be enabled in the Mailgun control panel. See more at the Mailgun User's Manual Tracking Messages section

webhook

Actions (11)

Create Mailing List Member

Add to an existing mailing list. See the docs here

Create Route

Create a new route. See the docs here

Delete Mailing List Member

Delete a mailing list member by address. See the docs here

Get Mailing List Member

Retrieve a mailing list member by address. See the docs here

Get Mailing List Members

List all mailing list members. See the docs here

List Domain Name Options

Retrieves available options for the Domain Name field.

List Domains

List domains in Mailgun. See the docs here

List Mailing List Options

Retrieves available options for the Mailing List field.

Send Email

Send email with Mailgun. See the docs here

Suppress Email

Add email to the Mailgun suppression list. See the docs here

Verify Email

Verify email address deliverability with Mailgun. See the docs here

Mastodon logo

Mastodon

Triggers (4)

New Status

Emit new event when a new status is posted to your Profile. See the docs here

polling
New Status Bookmarked

Emit new event when the specified status is bookmarked. See the docs here

polling
New Status Boosted

Emit new event when the specified status is boosted. See the docs here

polling
New Status Favorited

Emit new event when the specified status is favorited. See the docs here

polling

Actions (21)

Bookmark Status

Privately bookmark a status. See the docs here

Boost Status

Reshare a status on your own profile. See the docs here

Delete Status

Delete one of your own statuses. See the docs here

Edit Status

Edit a given status to change its text or sensitivity. See the docs here

Favorite Status

Add a status to your favourites list. See the docs here

Get Accounts Following

Get the accounts that the given account is following. See the documentation

Mute Conversation

Do not receive notifications for the thread that this status is part of. Must be a thread in which you are a participant. See the docs here

Perform Search

Search for content in accounts, statuses or hashtags. See the docs here

Pin Status to Profile

Feature one of your own public statuses at the top of your profile. See the docs here

Post Multiple Statuses

Publish multiple statuses with the given parameters, the subsequent statuses will be posted as a reply of of the first status. See the documentation

Post Status

Publish a status with the given parameters. See the documentation

Undo Bookmark of a Status

Remove a status from your private bookmarks. See the docs here

Undo Boost of a Status

Undo a reshare of a status. See the docs here

Undo Favorite of a Status

Remove a status from your favourites list.. See the docs here

Unmute a Conversation

Start receiving notifications again for the thread that this status is part of. See the docs here

Unpin Status from Profile

Unfeature a status from the top of your profile. See the docs here

View Hashtag Timeline

View public statuses containing the given hashtag. See the docs here

View Home Timeline

View statuses from followed users. See the docs here

View List Timeline

View statuses in the given list timeline. See the docs here

View Public Timeline

View public statuses. See the docs here

View Single Status

Obtain information about a status. See the docs here

Integration Features

11 documented Mailgun triggers
21 documented Mastodon actions
Configurable field mapping
Conditional workflow steps
Execution monitoring
A supported Mastodon to Mailgun direction

Capability Examples

Mailgun trigger → Mastodon action

Catalog example
MailgunMailgun

New Bounce (Instant)

MastodonMastodon

Bookmark Status

Mastodon trigger → Mailgun action

Reverse direction
MastodonMastodon

New Status

MailgunMailgun

Create Mailing List Member

How It Works

1

Connect Apps

Authenticate your Mailgun and Mastodon accounts

2

Choose a Trigger

Select a documented Mailgun event

3

Choose an Action

Select the documented Mastodon operation to run

Test and Review

Verify field mapping and provider responses before activation

Frequently Asked Questions

Integration Benefits

Trigger-driven Workflows

Start the supported direction from one of 11 documented Mailgun triggers.

Automated Actions

Run one of 21 documented Mastodon actions after the selected trigger fires.

Provider Authentication

Review the authentication requirements published by each provider before activating the workflow.

Guided Configuration

Select a documented trigger, choose a target action, and map the fields required by the workflow.

Field Mapping

Map the fields exposed by the selected trigger and action, then review the required provider inputs.

Execution Review

Test the workflow and review provider responses before relying on it in production.

Mastodon logoMailgun logo

Reverse Integration Available

Also connect Mastodon to Mailgun for bidirectional automation

View Integration
Mailgun logo

All Mailgun Integrations

Explore all available Mailgun connections

View All Integrations
Mastodon logo

All Mastodon Integrations

Explore all available Mastodon connections

View All Integrations

Ready to Connect Mailgun & Mastodon?

Build this supported workflow in Mazaal AI and test it with your own provider accounts.

Get Started Free