Skip to main content

Emails: Setting Up Subscription Email Notifications

Configure automated email notifications for subscription events like new signups, upcoming charges, and payment issues.

Daniel Andrade avatar
Written by Daniel Andrade
Updated this week

GOAT sends automated emails to keep subscribers informed about their subscriptions.

Email Types

| Email | When It's Sent | |-------|----------------| | Subscription Activation | When a customer first subscribes | | Upcoming Charge | 5 days before a recurring charge | | Charge Confirmation | After a successful recurring payment | | Subscription Cancelled | When a subscription is cancelled | | Card Declined | When a payment fails | | Card Expiring | When a saved card is about to expire |

Setting Up Your Sending Domain

For reliable email delivery, verify a sending domain.

Step 1: Add Your Domain

1. Go to Settings > Email in the GOAT app 2. Click "Add Domain" 3. Enter your domain (e.g., yourdomain.com) 4. Click "Add"

Step 2: Configure DNS Records

After adding your domain, you'll see DNS records to add:

SPF Record

  • Type: TXT

  • Name: @ (or your domain)

  • Value: Provided in the app

DKIM Records

  • Type: CNAME

  • Name: Provided in the app

  • Value: Provided in the app

Add these records in your domain registrar or DNS provider.

Step 3: Verify Domain

1. After adding DNS records, wait 15-30 minutes for propagation 2. Return to Settings > Email in GOAT 3. Click "Verify" next to your domain 4. Once verified, status will show as "Verified"

Note: DNS propagation can take up to 48 hours. If verification fails, wait and try again.

Customizing Email Templates

Accessing Templates

1. Go to Settings > Email 2. Scroll down to see all email templates 3. Click on any template to edit it

Template Editor

Each template has:

  • Subject Line: The email subject

  • Body Content: HTML content of the email

Available Variables

Use these variables in templates:

Customer Variables

  • #{{ customer.first_name }} - Customer's first name

  • #{{ customer.email }} - Customer's email

Subscription Variables

  • #{{ subscription.next_billing_date }} - Next charge date

  • #{{ subscription.status }} - Current status

Shop Variables

  • #{{ shop.name }} - Your store name

  • #{{ portal_url }} - Link to customer subscription portal

Troubleshooting

Emails going to spam?

  • Make sure your domain is verified

  • Check that SPF and DKIM records are correct

Emails not sending?

  • Verify domain status in Settings > Email

  • Check that the template is enabled

Variables not replacing?

  • Check spelling of variable names

  • Ensure you're using #{{ }} syntax

  • Variables are case-sensitive

If you need help, reach out via our Intercom chat widget or email us at [email protected].

Did this answer your question?