Install
Send emails with Mailgun, with text, HTML, attachments, tags, tracking, templates, and scheduled delivery, and start a workflow on a Mailgun event such as delivered, opened, clicked, or failed. Use it for transactional and bulk email.
- Open System, then Nodes.
- Find Mailgun and click Install.
- Use the new nodes at once. You do not restart.
How it works
Mailgun (mailgun.api) is an action node in the Mailgun package (@zerodot/mailgun): Send an email with Mailgun.
One operation: Send Email. The fields are:
- From Email, To Email, CC Email, BCC Email: separate many addresses with commas. A name is possible:
Nathan Doe <nate@example.com> - Subject, Text, HTML
- Attachments: the names of the binary properties that have the files, with commas between
Options:
- Reply To
- Tags: at most 3, with commas between
- Delivery Time: send the message later (
o:deliverytime) - Tracking, Click Tracking, Open Tracking: the default is the setting of the domain
- Test Mode: Mailgun accepts the message but does not deliver it
- Require TLS
- Custom Headers and Custom Variables: JSON objects. Mailgun adds
h:andv:to the names - Template, Template Version, Template Variables: use a stored template. Then Text and HTML are optional
The node sends a multipart/form-data request to /v3/<Email Domain>/messages. The output is the answer of Mailgun: id and message. When Mailgun gives an error, the node fails with the status, the message, and a short help text. A rate limit (HTTP 429) gives the time to wait from Retry-After.
Logins it can use
Mailgun API (mailgun.apiKey):
apiDomain:api.mailgun.net(US) orapi.eu.mailgun.net(EU)emailDomain: your sending domain, such asmg.example.comapiKey: secret. Mailgun uses it as the Basic auth password with the userapiwebhookSigningKey: secret and optional. Only the trigger needs it. Find it in the Mailgun dashboard, under Sending > Webhooks, as the HTTP webhook signing key
The Test button reads the information of the domain.
Guides and related hubs
Add Mailgun from System > Nodes without restarting.
All Email nodesSend transactional emails, manage newsletters, and automate campaigns via SMTP, Resend, Mailgun, Mailchimp, Gmail, and Beehiiv.
Use credentialsAES-256-GCM encrypted API keys and OAuth2 connections.
Compare alternativesCompare zerodot with n8n, Zapier, Windmill, and Activepieces.