← Back to Blog

How to Set Up IMAP & SMTP for Email Automation

March 10, 2025 · 5 min read

Connecting your email account to an automation tool requires IMAP (for reading emails) and SMTP (for sending replies). Here's how to set it up for the most common providers.

Gmail / Google Workspace

IMAP Settings:

  • Host: imap.gmail.com
  • Port: 993
  • Encryption: SSL

SMTP Settings:

  • Host: smtp.gmail.com
  • Port: 465 (SSL) or 587 (TLS)

Important: You need to generate an App Password. Go to myaccount.google.com → Security → 2-Step Verification → App Passwords. Use this password instead of your regular Gmail password.

Outlook / Microsoft 365

IMAP: outlook.office365.com:993 (SSL)

SMTP: smtp.office365.com:587 (TLS)

Custom Domain (cPanel)

IMAP: mail.yourdomain.com:993 (SSL)

SMTP: mail.yourdomain.com:465 (SSL)

Testing Your Connection

After adding your credentials in IAS AutoEmail, our system automatically tests the connection. If it fails, double-check your password (use App Password for Gmail) and ensure IMAP access is enabled in your email settings.

Ready to try AI email automation?

Start with 10 free tokens — no credit card required.

Get Started Free