Prerequisites
Before you start, make sure you have access to the following:
- Email administrator accessAccess to your organization's mail server or SMTP settings
- DNS managementAbility to add TXT records to your domain (only for domain verification)
- Preppio BotA configured bot in Preppio that needs email functionality
Select configuration method
SMTP configuration
Use existing SMTP servers for quick setup
Domain verification
Verify your domain for better deliverability
Common SMTP providers
Here are SMTP settings for popular email providers:
| Supplier | SMTP Server | Gate | TLS |
|---|---|---|---|
| Microsoft 365 | smtp.office365.com | 587 | Yes |
| Gmail | smtp.gmail.com | 587 | Yes |
| Outlook.com | smtp-mail.outlook.com | 587 | Yes |
| Yahoo Mail | smtp.mail.yahoo.com | 587 | Yes |
| Amazon SES | email-smtp.region.amazonaws.com | 587 | Yes |
| SendGrid | smtp.sendgrid.net | 587 | Yes |
Method 1: SMTP configuration
Get SMTP details
Contact your email or IT administrator to obtain SMTP credentials
- 1SMTP Server hostname (eg smtp.office365.com)
- 2Port number (usually 587 for TLS or 465 for SSL)
- 3Username (often your email address)
- 4Password or app-specific password
- 5Encryption type (TLS/SSL)
Access Preppio settings
Navigate to the bot configuration in the Preppio dashboard
- 1Log in to app.preppio.no
- 2Go to 'Settings' in the left sidebar
- 3Select 'Bots' from the settings menu
- 4Select the bot you want to configure
- 5Click on the 'Channels' tab
Add email channel
Create a new email channel with SMTP configuration
- 1Click on the 'Add Channel' button
- 2Select 'Email' from the dropdown menu
- 3Select the 'SMTP Configuration' method
- 4Fill in all required SMTP fields
- 5Configure the 'From' name and email address
Test the connection
Verify that the SMTP configuration is working correctly
- 1Click on the 'Test Email' button
- 2Enter a test email address
- 3Check that the test email was sent successfully
- 4Verify that the email arrived in the inbox
- 5Check your spam/junk folder if necessary
Method 2: Domain verification
Create email channel with domain verification
Select the domain verification method in Preppio
- 1Follow steps 1-2 from the SMTP method to get to channels
- 2Click 'Add Channel' and select 'Email'
- 3Select the 'Domain Verification' method
- 4Configure the desired display name
- 5Enter email address (recommended to use subdomain)
Get DNS records
Preppio will generate necessary TXT records for SPF and DKIM
- 1Copy the SPF TXT record that appears
- 2Copy the DKIM TXT record that appears
- 3Note down the domain name to be configured
- 4Make sure you have access to DNS management
- 5Choose a subdomain to avoid conflicts with existing setups
Update DNS settings
Add the TXT records to your DNS provider
- 1Log in to your DNS service provider (GoDaddy, Cloudflare, etc.)
- 2Navigate to the DNS management section
- 3Add the SPF TXT record as provided by Preppio
- 4Add the DKIM TXT record as provided by Preppio
- 5Save the changes (DNS changes can take up to 48 hours to propagate)
Verify the domain
Let Preppio check that the DNS records are configured correctly
- 1Return to the Preppio dashboard
- 2Click on the 'Verify Domain' button
- 3Wait for the system to check the DNS records
- 4A green tick icon is displayed upon successful verification
- 5If verification fails, wait a few hours and try again
Best practice
- Use app-specific passwords instead of master passwords whenever possible
- Always enable TLS/SSL encryption for secure email sending
- Use subdomains for domain verification to avoid conflicts
- Always test your email configuration before production use
Troubleshooting
SMTP authentication error
Check username, password and server settings. Verify that app-specific passwords are enabled if required.
Emails end up in spam
Use domain verification with SPF and DKIM for better deliverability. Avoid spammy headlines and content.
DNS records do not propagate
DNS changes can take up to 48 hours. Use DNS tools like 'dig' or online DNS checkers to verify status.