# Mailgun

To send system-generated emails from an email address associated with your organization, you need to create an account with Mailgun. Visit their website at <http://www.mailgun.com/> to get started. We use Mailgun for our transactional emails because it offers our clients an affordable way to ensure your emails are delivered. Mailgun provides up to 10,000 emails for free, and beyond that, the cost is very reasonable.

Once you have created your Mailgun account and logged in, click on "**Send**" on the side menu to expand and show more options then click on "**Sending**" and select "**Domains**". Click on the URL under the Name column in the domains table. Alternatively, if you do not have a custom domain set up, you can use the Mailgun Subdomains option.

<figure><img src="/files/qCX4lVDawdMjaW4YY2Il" alt=""><figcaption></figcaption></figure>

Once you click on the domain name, you’ll be redirected to a page displaying your domain Information. To get the SMTP credentials click on the SMTP credentials tab. If you do not remember the password, you can use the option of resetting the password.

<figure><img src="/files/N63CHHOSB88YGUZzTMZL" alt=""><figcaption></figcaption></figure>

To fill in your Email Settings, navigate to the main menu under “**Settings**” and click on “**Account Settings.**” Then, click on the “**Integrations**” tab.

<figure><img src="/files/ULo1bvhwYMT1nkcsSFgW" alt=""><figcaption></figcaption></figure>

Click **"View integration"** on the Mailgun card shown in the red box above to fill in your Mailgun information.

<figure><img src="/files/RXgl0lkzKH7ONlCnrvrv" alt="" width="375"><figcaption></figcaption></figure>

The From Name and From Address should be your organization’s name and email address. The hostname is the SMTP hostname, the login is the Default SMTP Login, and the password is the Default Password from Mailgun.

Once you’ve filled in all the information, click **Update**. Now, HelpYouSponsor will send emails through your Mailgun account.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.helpyousponsor.com/guides/advanced-features/integrations/mailgun.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
