> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mainwp.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create a custom Pro Reports email template

> Learn how to create a custom Pro Reports email template by copying one of the built-in email templates, editing the PHP file, uploading it to your Dashboard site, and selecting it in the Email template dropdown.

## What You'll Learn

* Copying a built-in Pro Reports email template
* Renaming and editing the template file
* Customizing the email HTML and footer content
* Uploading and selecting a custom email template

***

<Info>
  **Extension Add-on** - This add-on provides standalone functionality within MainWP Dashboard. No third-party plugins required.
</Info>

The Pro Reports Extension includes built-in email templates. To create a custom email template, start with one of the existing files in the extension, copy it, rename it, edit it, and upload it to your MainWP Dashboard site.

Built-in email templates are stored in the `/mainwp-pro-reports-extension/templates/emails/` directory. Custom email templates are loaded from `/wp-content/uploads/mainwp/report-email-templates/` and become available in the **Email template** dropdown when you edit a report.

Examples of built-in email templates include `pro-report-email-default.php`, `pro-report-email-minimal.php`, `pro-report-email-modern.php`, and `pro-report-email-agency.php`.

## Create a custom email template

<Steps>
  <Step title="Download a copy of the MainWP Pro Reports Extension">
    Download the extension ZIP file from your MainWP Account so you can access the built-in email template files.
  </Step>

  <Step title="Locate a built-in email template">
    Open the `/mainwp-pro-reports-extension/templates/emails/` directory and choose one of the existing email templates as your starting point.
  </Step>

  <Step title="Copy and rename the template file">
    Copy the selected PHP file and rename it to a unique filename for your custom template.
  </Step>

  <Step title="Edit the copied PHP file">
    Open the copied file in your code editor and update the HTML and PHP markup as needed. If you want to change the footer contact details, edit the footer section near the end of the template file.
  </Step>

  <Step title="Upload the custom template to your Dashboard site">
    Upload the finished PHP file to the `/wp-content/uploads/mainwp/report-email-templates/` directory on your MainWP Dashboard site.
  </Step>

  <Step title="Select the custom template in the report">
    Open or edit your Pro Report, choose the uploaded file from the **Email template** dropdown, and save the report. The custom template will now be used for that report's email output.

    <img src="https://mintcdn.com/mainwp/fe8MDk8Na8l3lQHZ/images/add-ons/pro-reports-email-template-dropdown.png?fit=max&auto=format&n=fe8MDk8Na8l3lQHZ&q=85&s=715b06d89fa41f225a457e55f1ebfc4c" alt="Email Template dropdown in Pro Reports settings" width="702" height="352" data-path="images/add-ons/pro-reports-email-template-dropdown.png" />
  </Step>
</Steps>

<Warning>
  Keep the file extension as `.php`. Pro Reports renders the selected email template as a PHP file when the email is generated, so invalid PHP or malformed HTML can prevent the template from rendering correctly.
</Warning>

***

## Related Resources

* [Pro Reports](/add-ons/agency/pro-reports-extension-overview) - Main Pro Reports documentation
* [Create Custom Report Templates](/add-ons/agency/create-custom-report-templates) - Build custom PHP templates
* [How to use a different logo for the Pro Reports email only](/add-ons/agency/how-to-use-a-different-logo-for-the-pro-reports-email-only) - Customize email-only branding
