Testing AMP Emails in Magento 2 using Gmail Development Mode

Preparing Your Magento 2 Store to Send AMP Emails

Before we proceed with testing AMP Emails in development mode, we must ensure that the following steps are completed:

  1. AMP Email Extension for Magento 2 is installed & enabled successfully. See the Installation instructions for more info.
  2. Plumrocket SMTP extension for Magento 2 must be enabled and configured to allow sending AMP Emails from Magento store. The SMTP plugin is provided for free with each purchase of Plumrocket AMP Email extension. Please note that you will not be able to send AMP Emails without Plumrocket SMTP Plugin or supported third-party SMTP plugins. Click here to see a full list of supported SMTP Extensions.
  3. Make sure that “sender email addresses” are entered in your store configurations. You can find / update all Store Email Addresses by navigating to your Magento Admin > Stores > Settings > Configuration > General > Store Email Addresses.

Create AMP Email Template

Now let’s create and test our first AMP Email template. Follow these steps:

  1. Go to Magento Admin > Marketing > Communications > Email Templates > Add New Template
Amp email testing
  1. Select all fields as displayed on screenshot:
Amp email testing

Click on “Save Template” button to save your first AMP Email Template.

Sending AMP Emails

  1. While viewing your Welcome Email template, click on “Send” button at the bottom of the page to send test email.
  2. After the email was sent the success message should be displayed, showing the sender email address and the recipient email address. Copy the sender email address, you will need it in the next step.
Amp email testing
  1. Now let’s go to your recipient Gmail email box. You should see the email sent from your Magento store. The email will be displayed in HTML or Text format.

Enable Dynamic Emails in Gmail

  1. Click on “Settings” as displayed below:
Amp email testing
  1. Enter your sender email address and save changes.
Amp email testing

Testing AMP Emails in Gmail

  1. Go back to your Gmail Inbox and select your Welcome Email.
  2. You should see lighting bolt sign indicating that AMP Email is displayed.
Amp email testing
  1. Congratulations, your first dynamic AMP Email was delivered. You can send another email from your Magento to continue testing AMP Emails.

Was this article helpful?