Overview
Transactional email delivery, scheduled delivery, recipient-variable batch sending, stored message retrieval, resend, and domain queue controls. Category: EmailCatalog status: active
Supported capabilities and connector actions
Direction
- P2HS → Mailgun: Yes — supported actions can send data or requests to the provider.
- Mailgun → P2HS: Yes — the catalog declares inbound triggers.
- Webhooks: Event delivery is represented by the declared triggers.
Prerequisites
- A Mailgun account with permission to create or authorize the connection.
- The credentials or authorization flow required by P2HS (Api key).
- Any provider-side account, workspace, repository, store, or sending-domain permissions required for the selected capability.
Connect the integration
- Open the P2HS dashboard.
- Select the project or workspace where the connector will be used.
- Open Integrations and choose Mailgun.
- Select Connect and complete the provider authorization or credential form.
- Save the connection and run the verification check.
- Bind the connection to a compatible capability, App Block, or Feature Pack.
Credentials and configuration
Authentication: Api key. The current catalog requires these credential fields:api_key
domainregionfrom_emailfrom_name
Generated applications
After Mailgun is connected, compatible capabilities and composed application features can bind to the connection. The generated application should call the approved P2HS capability rather than embedding Mailgun credentials.Events and webhooks
The catalog declares these inbound events:email_accepted— Email acceptedemail_delivered— Email deliveredemail_failed— Email failedemail_opened— Email openedemail_clicked— Email clickedemail_complained— Email complainedemail_unsubscribed— Email unsubscribed
Troubleshooting
- Authentication failed: confirm the credential or authorization flow and the provider account selected.
- Permission denied: verify that the provider account can access the configured resource and action.
- Action unavailable: confirm that the capability is admitted for the project and supported by this connector.
- Event not received: check the connection status, provider event configuration, and the project environment.

