Relay Lane Configuration
Configure your email relay lanes to send emails through Gmail and other SMTP providers. We recommend starting with Gmail for most users.
Before You Configure Relay Lanes
1. Domain Authentication Required: You must authenticate your domain before configuring any lanes.
2. Understand Provider Limits: Each provider has different sending limits. Review sending limits to choose the right provider for your volume.
3. Choose Your Lane Type: Not sure if Relay Lanes are right for you? Compare Relay vs IP Lanes.
Support for 5+ email services
Step-by-step configuration
High deliverability rates
On this page
Overview
Email relay lanes allow you to send emails through your preferred email service provider while maintaining the benefits of Laneful's email management and analytics. This guide covers configuration for the most popular email service providers.
Before You Begin
- • Ensure you have an account with your chosen email service provider
- • Have your API keys or SMTP credentials ready
- • Verify your domain with the email service provider (recommended)
- • Check your email service provider's sending limits and pricing
Testing Your Configuration
You can test your SMTP connection during the relay lane creation process in Laneful. This allows you to verify your configuration before saving the relay lane.
Gmail Configuration
Configure Gmail as your email relay. For business accounts, we recommend using Google Workspace SMTP Relay for higher sending limits and better deliverability.
Gmail Sending Limits & Retry Policy
Daily Limits
- • Personal Gmail: 500 emails/day
- • Google Workspace: 2,000 emails/day
- • Limits reset at midnight Pacific Time
Laneful's Handling
- • Automatic queueing when limits hit
- • 3-day retry policy for failed sends
- • Smart distribution throughout the day
Need higher limits? Consider IP Lanes for unlimited sending.
Google Workspace SMTP Relay (Recommended for Business)
For Google Workspace business accounts, use the SMTP relay service for higher sending limits and better deliverability.
- 1
Enable 2-Step Verification
Ensure 2-Step Verification is enabled on your Google Workspace account.
- 2
Create App Password
Go to Google Account App Passwords and generate a new app password.
- 3
Configure SMTP Relay (Admin Required)
In Google Admin console, go to Apps → Google Workspace → Gmail → Routing → SMTP relay service. Configure with "Allowed senders – only addresses in my domains", "Require SMTP Authentication: Yes", and "Require TLS encryption: Yes".
- 4
Configure SMTP Settings
Use these settings in your Laneful relay lane:
SMTP Server: smtp-relay.gmail.comPort: 465Use TLS: enabledUsername: your-workspace-email@domain.comPassword: [Your App Password]
Personal Gmail Account (Alternative)
For personal Gmail accounts, use App Passwords for secure authentication.
- 1
Enable 2-Factor Authentication
Ensure 2FA is enabled on your Google account.
- 2
Generate App Password
Go to Google Account App Passwords and generate a new app password.
- 3
Configure SMTP Settings
Use these settings in your Laneful relay lane:
SMTP Server: smtp.gmail.comPort: 465Use TLS: enabledUsername: your-email@gmail.comPassword: [Your App Password]
SendGrid Configuration
SendGrid provides reliable email delivery with excellent analytics and deliverability features.
- 1
Create SendGrid Account
Sign up at SendGrid.com and verify your account.
- 2
Generate API Key
Go to Settings > API Keys and create a new API key with "Mail Send" permissions.
- 3
Verify Domain
Go to Settings > Sender Authentication and verify your domain to improve deliverability and avoid spam filters.
- 4
Configure SMTP Settings
Use these settings in your Laneful relay lane:
SMTP Server: smtp.sendgrid.netPort: 465Use TLS: enabledUsername: apikeyPassword: [Your SendGrid API Key]
Mailgun Configuration
Mailgun is a powerful email service with excellent developer tools and analytics.
- 1
Create Mailgun Account
Sign up at Mailgun.com and verify your account.
- 2
Verify Domain
Go to Sending > Domains > Add new domain and verify your domain to improve deliverability.
- 3
Get SMTP Credentials
Click the Send product, then click Sending to expand its suboptions. Click Domain settings, then the SMTP credentials tab. Add a new SMTP user to get your username and password.
- 4
Configure SMTP Settings
Use these settings in your Laneful relay lane:
SMTP Server: smtp.mailgun.orgPort: 465Use TLS: enabledUsername: [Your Mailgun SMTP Username]Password: [Your Mailgun SMTP Password]
AWS SES Configuration
Amazon SES is a cost-effective email service that integrates well with other AWS services.
- 1
AWS Account Setup
Ensure you have an AWS account and access to the AWS SES console.
- 2
Create SMTP Credentials
In the SES console, choose SMTP settings in the left navigation pane, then choose Create SMTP Credentials. Type a name for your SMTP user and choose Create user.
- 3
Verify Domain
Navigate to Configuration > Identities > Create identity and verify your domain to improve deliverability.
- 4
Configure SMTP Settings
Use these settings in your Laneful relay lane:
SMTP Server: [Your AWS SES SMTP endpoint] (e.g., email-smtp.us-east-2.amazonaws.com)Port: 465Use TLS: enabledUsername: [Your SES SMTP Username]Password: [Your SES SMTP Password]
Important: Production Access Required
New AWS SES accounts are placed in a sandbox environment with restrictions. You must request production access to send emails to non-verified email addresses and domains. Learn how to request production access.
Postmarkapp Configuration
Postmarkapp specializes in transactional emails with excellent deliverability and speed.
- 1
Create Postmarkapp Account
Sign up at Postmarkapp.com and verify your account.
- 2
Get Server API Token
Select a server in your dashboard, then click the API Tokens tab. The Server API Token is used for both username and password in SMTP configuration.
- 3
Configure SMTP Settings
Use these settings in your Laneful relay lane:
SMTP Server: smtp.postmarkapp.comPort: 587Use TLS: disabledUsername: [Your Postmarkapp Server API Token]Password: [Your Postmarkapp Server API Token]
Troubleshooting
Common issues and solutions when configuring email relay lanes.
Authentication Errors
- • Verify your API keys or SMTP credentials are correct
- • Check that your account is active and not suspended
- • Ensure you have the necessary permissions for sending emails
Delivery Issues
- • Verify your domain is properly configured with your email service provider
- • Check your sender reputation and ensure you're not on any blacklists
- • Review your email content for spam triggers
- • Monitor your sending limits and quotas
Rate Limiting
- • Check your email service provider's sending limits
- • Implement proper rate limiting in your application
- • Consider upgrading your plan if you need higher sending volumes
- • Monitor your sending patterns to avoid being flagged as spam
Getting Help
If you're still experiencing issues after trying these solutions:
- • Check your email service provider's documentation and support
- • Review Laneful's Sending Email documentation
- • Contact Laneful support with specific error messages and configuration details