Mailgun
Send emails and manage mailing lists with Mailgun
Integrate Mailgun into your workflow. Send transactional emails, manage mailing lists and members, view domain information, and track email events. Supports text and HTML emails, tags for tracking, and comprehensive list management.
| Parameter | Type | Required | Description |
|---|
apiKey | string | Yes | No description |
domain | string | Yes | No description |
from | string | Yes | Sender email address (e.g., sender@example.com or "Name <sender@example.com>") |
to | string | Yes | Recipient email address (e.g., user@example.com). Use comma-separated values for multiple recipients |
subject | string | Yes | No description |
text | string | No | No description |
html | string | No | HTML body of the email (e.g., "<h1>Hello</h1><p>Message content</p>") |
cc | string | No | CC recipient email address (e.g., cc@example.com). Use comma-separated values for multiple recipients |
bcc | string | No | BCC recipient email address (e.g., bcc@example.com). Use comma-separated values for multiple recipients |
tags | string | No | No description |
| Parameter | Type | Description |
|---|
success | boolean | Whether the message was sent successfully |
id | string | Message ID |
message | string | Response message from Mailgun |
| Parameter | Type | Required | Description |
|---|
apiKey | string | Yes | No description |
domain | string | Yes | No description |
messageKey | string | Yes | No description |
| Parameter | Type | Description |
|---|
success | boolean | Whether the request was successful |
recipients | string | Message recipients |
from | string | Sender email |
subject | string | Message subject |
bodyPlain | string | Plain text body |
strippedText | string | Stripped text |
strippedSignature | string | Stripped signature |
bodyHtml | string | HTML body |
strippedHtml | string | Stripped HTML |
attachmentCount | number | Number of attachments |
timestamp | number | Message timestamp |
messageHeaders | json | Message headers |
contentIdMap | json | Content ID map |
| Parameter | Type | Required | Description |
|---|
apiKey | string | Yes | No description |
domain | string | Yes | No description |
event | string | No | No description |
limit | number | No | No description |
| Parameter | Type | Description |
|---|
success | boolean | Whether the request was successful |
items | json | Array of event items |
paging | json | Paging information |
| Parameter | Type | Required | Description |
|---|
apiKey | string | Yes | No description |
address | string | Yes | No description |
name | string | No | No description |
description | string | No | No description |
accessLevel | string | No | No description |
| Parameter | Type | Description |
|---|
success | boolean | Whether the list was created successfully |
message | string | Response message |
list | json | Created mailing list details |
| Parameter | Type | Required | Description |
|---|
apiKey | string | Yes | No description |
address | string | Yes | No description |
| Parameter | Type | Description |
|---|
success | boolean | Whether the request was successful |
list | json | Mailing list details |
| Parameter | Type | Required | Description |
|---|
apiKey | string | Yes | No description |
listAddress | string | Yes | No description |
address | string | Yes | No description |
name | string | No | No description |
vars | string | No | No description |
subscribed | boolean | No | No description |
| Parameter | Type | Description |
|---|
success | boolean | Whether the member was added successfully |
message | string | Response message |
member | json | Added member details |
| Parameter | Type | Required | Description |
|---|
apiKey | string | Yes | No description |
| Parameter | Type | Description |
|---|
success | boolean | Whether the request was successful |
totalCount | number | Total number of domains |
items | json | Array of domain objects |
| Parameter | Type | Required | Description |
|---|
apiKey | string | Yes | No description |
domain | string | Yes | No description |
| Parameter | Type | Description |
|---|
success | boolean | Whether the request was successful |
domain | json | Domain details |