Email Settings Configuration
Configure email delivery, templates, and notifications for optimal customer communication.
Accessing Email Settings
Section titled “Accessing Email Settings”Navigate to email settings:
- Shopify admin → Apps → Alva Digital Downloads
- Click Settings → Email Settings
- Configure email preferences
Settings sections:
• Email Provider• From/Reply-To Configuration• Email Templates• Notification Rules• Delivery Settings• Testing and DebuggingEmail Provider Configuration
Section titled “Email Provider Configuration”Choosing Email Provider
Section titled “Choosing Email Provider”Available providers:
Postmark (Recommended):
Type: API-basedDelivery rate: 99%+Speed: < 5 secondsOpen tracking: YesClick tracking: YesCost: $0.01/emailMailerToGo (SMTP):
Type: SMTP-basedDelivery rate: 98%+Speed: 10-30 secondsOpen tracking: YesClick tracking: YesCost: $0.005/emailRecommendation: Use Postmark as primary, MailerToGo as fallback
Postmark Configuration
Section titled “Postmark Configuration”Setup Postmark:
Step 1: Get API credentials:
1. Sign up at postmarkapp.com2. Create server3. Generate API token4. Verify sender email/domainStep 2: Configure in Alva:
Settings → Email Settings → Provider → Postmark
Server API Token: [Paste token]From Email: noreply@yourshop.comFrom Name: Your Shop Name
Verify sender: ☑ Email verified in PostmarkStep 3: Test connection:
[Send Test Email]To: your@email.comResult: ✓ Sent successfully via PostmarkDelivery time: 2.3 secondsMailerToGo Configuration
Section titled “MailerToGo Configuration”Setup SMTP:
SMTP credentials:
Settings → Email Settings → Provider → MailerToGo
SMTP Host: smtp.mailertogo.netSMTP Port: 587Username: your_mailertogo_usernamePassword: ••••••••••••Encryption: TLS (STARTTLS)
From Email: noreply@yourshop.comFrom Name: Your Shop NameTest connection:
[Test SMTP Connection]Result: ✓ Connected successfullyAuthentication: ✓ ValidCan send: ✓ YesFallback Configuration
Section titled “Fallback Configuration”Email delivery reliability:
Fallback strategy:
Settings → Email Settings → Fallback
Primary: PostmarkFallback: MailerToGoAuto-switch: ☑ If primary fails
Retry attempts: 3Retry delay: 5 secondsFallback after: 3 failed attemptsWhy use fallback:
• Ensures email delivery• Prevents lost notifications• Redundancy for critical emails• Better deliverabilityFrom and Reply-To Settings
Section titled “From and Reply-To Settings”Sender Configuration
Section titled “Sender Configuration”From email address:
Email address:
Settings → Email Settings → From EmailEmail: noreply@yourshop.comor: support@yourshop.comor: downloads@yourshop.com
Requirements:✓ Must be verified in email provider✓ SPF record configured✓ DKIM record configuredFrom name:
From Name: Your Shop Nameor: Your Shop Teamor: Your Shop Digital Downloads
Display in inbox:"Your Shop Name <noreply@yourshop.com>"Reply-To Configuration
Section titled “Reply-To Configuration”Customer replies:
Reply-to email:
Settings → Email Settings → Reply-To EmailEmail: support@yourshop.com
Different from sender: ☑ YesMonitored inbox: ☑ YesResponse time: < 24 hoursWhy separate:
From: noreply@yourshop.com (delivery)Reply-To: support@yourshop.com (customer service)
Benefits:• Clear separation• Monitored support inbox• Better customer service• Professional appearanceEmail Templates
Section titled “Email Templates”Available Templates
Section titled “Available Templates”Template types:
Download notification:
Sent: When files readyPurpose: Provide download linkFrequency: Once per orderStatus: ☑ EnabledFraud pending:
Sent: When order flaggedPurpose: Inform about reviewFrequency: Once per flagged orderStatus: ☑ EnabledApproval notification:
Sent: After manual approvalPurpose: Files now availableFrequency: Once per approvalStatus: ☑ EnabledExpiry warning:
Sent: 7 days before expiryPurpose: Remind to downloadFrequency: OnceStatus: ☐ EnabledLimit warning:
Sent: At 80% of download limitPurpose: Alert near limitFrequency: OnceStatus: ☐ EnabledEditing Email Templates
Section titled “Editing Email Templates”Customize templates:
Template editor:
Settings → Email Settings → Templates → [Select template]
Editor: Rich text + HTMLVariables: Dynamic placeholdersPreview: Live preview with test dataLanguages: 8 supportedAvailable variables:
Order variables:
{order_number} → #1045{order_date} → January 15, 2024{order_total} → $49.99Customer variables:
{customer_name} → John Smith{customer_first_name} → John{customer_email} → john@example.comProduct variables:
{product_name} → Complete Course Bundle{file_count} → 5 files{file_list} → Bulleted list of filesDownload variables:
{download_link} → Secure download URL{expiry_date} → March 15, 2024{days_until_expiry} → 45 days{download_limit} → 5 downloads{downloads_used} → 2Shop variables:
{shop_name} → Your Shop{shop_url} → https://yourshop.com{support_email} → support@yourshop.comDownload Notification Template
Section titled “Download Notification Template”Default template:
Subject: Your Files Are Ready - Order {order_number}
Hi {customer_first_name},
Thank you for your purchase! Your digital files are ready to download.
Product: {product_name}Order number: {order_number}
{download_link_button}
Files included:{file_list}
Important Information:• Download link expires in {days_until_expiry} days ({expiry_date})• You can download up to {download_limit} times• Files will be available in your account at {shop_url}/account
Need help? Reply to this email or contact us at {support_email}.
{shop_name}{shop_url}Customization options:
Button styling:
Settings → Email Settings → Templates → Download Button
Button text: "Download Files"Button color: #007AFF (primary brand color)Button style: Filled / OutlinedButton size: Medium / LargeLayout:
Layout: Single column / Two columnHeader: Show logo / Hide logoFooter: Include social links / Simple footerFraud Pending Template
Section titled “Fraud Pending Template”Template content:
Subject: Order {order_number} - Security Review in Progress
Hi {customer_first_name},
Thank you for your order of {product_name}.
For your security, we're reviewing your order. This is a standardprocedure to protect you and other customers.
Order number: {order_number}Status: Under Review
What happens next:1. Our team reviews your order (usually 1-2 hours)2. You'll receive an email when approved3. Download link will be available immediately
This helps us prevent fraud and ensure a safe shopping experiencefor everyone.
Questions? Contact us at {support_email}.
{shop_name}Customization:
Tone: Reassuring, professionalEstimated time: Adjustable (1-2 hours default)Include: Order details, next stepsExpiry Warning Template
Section titled “Expiry Warning Template”Reminder email:
Subject: Download Your Files Soon - Expiring in 7 Days
Hi {customer_first_name},
This is a friendly reminder that your download link for{product_name} will expire in 7 days.
Order: {order_number}Expires: {expiry_date}
{download_link_button}
Make sure to download your files before the link expires.After that, you'll need to contact support for access.
Downloads remaining: {downloads_remaining} of {download_limit}
{shop_name}Notification Rules
Section titled “Notification Rules”Email Triggers
Section titled “Email Triggers”When to send emails:
Download notification:
Settings → Email Settings → Rules → Download Notification
Trigger: Order approved and files readyConditions:☑ Fraud check passed (if enabled)☑ Payment confirmed☑ Files available
Exceptions:☐ Don't send if customer disabled emails☐ Don't send for free ordersFraud notification:
Trigger: Order flagged by fraud detectionConditions:☑ Fraud score above threshold☑ Manual review required
Send to:☑ Customer☑ Shop owner☐ Support teamEmail Scheduling
Section titled “Email Scheduling”Send timing:
Immediate vs. delayed:
Settings → Email Settings → Rules → Timing
Download notification:○ Send immediately after approval● Delay: 5 minutes (prevent duplicates)○ Scheduled: Batch send
Fraud pending:● Send immediately (customer expects it)
Expiry warning:● Send 7 days before expiryTime: 9:00 AM customer's timezoneBatching (optional):
☐ Enable email batchingBatch interval: 15 minutesMax batch size: 100 emails
Benefits: Reduce server load, prevent spam flagsTrade-off: Slight delayFrequency Limits
Section titled “Frequency Limits”Prevent email spam:
Per-customer limits:
Settings → Email Settings → Rules → Frequency
Max emails per day: 10Max duplicate emails: 1 (prevent resend spam)Cooldown period: 1 hour between similar emails
Example:Customer requests 3 download emails in 5 minutes→ Send first→ Block next 2 (within cooldown)→ Show message: "Email sent recently"Delivery Settings
Section titled “Delivery Settings”SPF and DKIM
Section titled “SPF and DKIM”Email authentication:
SPF record:
Settings → Email Settings → Delivery → Authentication
What: Sender Policy FrameworkPurpose: Prevent spoofingStatus: ☑ Configured
DNS record:v=spf1 include:spf.mailertogo.net include:spf.postmarkapp.com ~all
Verify: [Check SPF Record]Result: ✓ Valid, ✓ Includes providersDKIM record:
What: DomainKeys Identified MailPurpose: Email integrityStatus: ☑ Configured
Provider generates: Public/private key pairAdd to DNS: TXT recordVerify: [Check DKIM Record]Result: ✓ Valid signatureSetup guide:
1. Get DKIM record from provider2. Add to DNS (TXT record)3. Wait for propagation (24-48 hours)4. Verify in settingsTracking Settings
Section titled “Tracking Settings”Email tracking:
Open tracking:
Settings → Email Settings → Delivery → Tracking
Open tracking: ☑ EnabledMethod: 1x1 pixelPrivacy: Respects "Do Not Track"Accuracy: ~70% (image blocking affects)Click tracking:
Click tracking: ☑ EnabledMethod: Redirect through tracking serverPrivacy: Anonymized after 90 daysLinks tracked: Download button, support linksUnsubscribe tracking:
☑ Track unsubscribe requestsList-Unsubscribe header: ☑ IncludeOne-click unsubscribe: ☑ Enabled (required)Deliverability Settings
Section titled “Deliverability Settings”Optimize delivery:
Content scanning:
Settings → Email Settings → Delivery → Optimization
☑ Scan for spam triggers☑ Check content/text ratio☑ Validate HTML☑ Check broken links
Auto-fix: ☑ Enable (where possible)Warning: ☑ Show issues before sendingBest practices:
✓ Balance text and images (60/40)✓ Avoid spam words ("FREE!", "LIMITED TIME!")✓ Include physical address✓ Clear unsubscribe link✓ Authenticate emails (SPF/DKIM)Testing and Debugging
Section titled “Testing and Debugging”Send Test Emails
Section titled “Send Test Emails”Test email delivery:
Send test:
Settings → Email Settings → Testing → Send Test Email
Template: [Select template]Test data: Use sample orderSend to: your@email.com
[Send Test Email]
Result:✓ Sent successfullyProvider: PostmarkDelivery time: 1.8 secondsOpens: Track after sendingEmail Logs
Section titled “Email Logs”Monitor email delivery:
View logs:
Settings → Email Settings → Logs
Columns:• Date/Time• Recipient• Subject• Status (Delivered/Bounced/Failed)• Opens• Clicks• Provider
Filter:☐ Delivered only☐ Failed only☐ Last 24 hoursLog details:
Click log entry → View details:• Full headers• SMTP logs• Error messages (if failed)• Delivery timeline• Open/click eventsDebugging
Section titled “Debugging”Troubleshoot email issues:
Debug mode:
Settings → Email Settings → Testing → Debug Mode☐ Enable debug mode
When enabled:• Logs all email attempts• Shows detailed errors• Doesn't actually send (safe testing)• Saves email HTML to logsCommon issues:
Issue: Emails not sendingDebug: Check provider credentials, API limits
Issue: Emails going to spamDebug: Check SPF/DKIM, content scan results
Issue: Slow deliveryDebug: Check provider status, retry logsLanguage and Localization
Section titled “Language and Localization”Multi-Language Templates
Section titled “Multi-Language Templates”Translate email templates:
Available languages:
Settings → Email Settings → Templates → Languages
Supported:• English (en) ✓ Complete• French (fr) ✓ Complete• German (de) ✓ Complete• Spanish (es) ✓ Complete• Italian (it) ✓ Complete• Japanese (ja) ✓ Complete• Dutch (nl) ✓ Complete• Portuguese (pt-BR) ✓ CompleteEditing translations:
1. Select template (e.g., Download Notification)2. Choose language (e.g., French)3. Edit translation4. Save
Auto-detect: ☑ Send in customer's languageFallback: English (if language unavailable)Example:
English:Subject: Your Files Are Ready - Order {order_number}
French:Subject: Vos Fichiers Sont Prêts - Commande {order_number}
German:Subject: Ihre Dateien Sind Bereit - Bestellung {order_number}Advanced Settings
Section titled “Advanced Settings”Custom Headers
Section titled “Custom Headers”Email headers:
Custom headers:
Settings → Email Settings → Advanced → Custom Headers
Add custom email headers:X-Shop-Order: {order_number}X-Product-ID: {product_id}X-Customer-ID: {customer_id}
Use for:• Email filtering• Integrations• TrackingWebhooks
Section titled “Webhooks”Email event webhooks:
Configure webhooks:
Settings → Email Settings → Advanced → Webhooks
Endpoint: https://yourapp.com/webhooks/emailEvents:☑ Email sent☑ Email delivered☑ Email opened☑ Email clicked☑ Email bounced☑ Spam complaint
Payload: JSONAuthentication: HMAC signatureExample payload:
{ "event": "email.delivered", "email": "customer@example.com", "subject": "Your Files Are Ready - Order #1045", "template": "download_notification", "timestamp": "2024-01-15T15:30:00Z", "provider": "postmark", "message_id": "abc123-def456"}API Integration
Section titled “API Integration”Email API:
Send via API:
POST /api/emails/sendAuthorization: Bearer {api_key}Content-Type: application/json
{ "template": "download_notification", "recipient": "customer@example.com", "order_number": "1045", "variables": { "customer_name": "John Smith", "product_name": "Course Bundle" }}Best Practices
Section titled “Best Practices”1. Use Professional From Address
Section titled “1. Use Professional From Address”Recommended:
✅ noreply@yourshop.com✅ support@yourshop.com✅ hello@yourshop.com
❌ no-reply@shopify.com❌ shopify@gmail.com❌ your.shop.12345@mailserver.comWhy: Trust, deliverability, branding
2. Authenticate Emails
Section titled “2. Authenticate Emails”Essential:
✓ SPF record✓ DKIM signing✓ DMARC policy (optional but recommended)Impact:
Without: 30-50% spam rateWith: <5% spam rate3. Test Before Launching
Section titled “3. Test Before Launching”Testing checklist:
☐ Send test to yourself☐ Check all variables render☐ Test on mobile☐ Verify links work☐ Check spam score☐ Test in multiple email clientsTool: Mail Tester for spam scoring
4. Monitor Deliverability
Section titled “4. Monitor Deliverability”Track metrics:
• Delivery rate (target: >98%)• Open rate (target: 60%+ for transactional)• Click rate (target: 90%+ for download emails)• Bounce rate (target: <2%)• Spam complaint rate (target: <0.1%)Review: Weekly
5. Respect Unsubscribes
Section titled “5. Respect Unsubscribes”Compliance:
✓ Honor unsubscribe immediately✓ Provide easy unsubscribe link✓ Don't require login to unsubscribe✓ Confirm unsubscribe
Exception: Transactional emails (download links)Troubleshooting
Section titled “Troubleshooting”Emails Not Sending
Section titled “Emails Not Sending”Check:
1. Provider credentials correct2. From email verified3. API limits not exceeded4. Provider service status5. Email enabled in shop settingsTest:
Settings → Email Settings → Send Test EmailIf test fails → Provider issueIf test succeeds → Rule/trigger issueEmails Going to Spam
Section titled “Emails Going to Spam”Fix:
1. Verify SPF/DKIM configured2. Use authenticated domain3. Avoid spam trigger words4. Balance text/image ratio5. Include physical address6. Test with mail-tester.comLow Open Rates
Section titled “Low Open Rates”Improve:
1. Better subject lines (clear, personal)2. Optimize send time (9-11 AM, 2-4 PM)3. Check sender reputation4. Ensure mobile-friendly5. A/B test different approachesNext Steps
Section titled “Next Steps”- General Settings Overview - Overall settings
- Shop Settings and Preferences - Shop configuration
- Advanced Settings and API - Developer options