Setup Mailgun

Gravity uses Mailgun to send transactional emails to your users. Your first 10,000 emails are free.

The email templates are located in the /emails directory. You will need to replace the logo in the HTML files and adjust the links on the buttons to point to your domain.

We've left a few links as localhost so you can test the emails in your local development environment.

1. Register a Mailgun Account

Head over to Mailgun and register your account. Registration is free.

Register Your Mailgun Account

2. Setup Your Domain

Follow the Mailgun setup instructions to set up and verify your domain.

You will also need access to your domain control panel to edit the DNS settings. It can take up to 48 hours for your domain to be verified.

Verify Your Domain

3. Copy Your API Key

Log into your Mailgun Dashboard and copy your private API key from the sidebar. You'll need this for the next step.

Install Gravity