Connects a new SMTP/IMAP email account to your team.
Connects a custom SMTP/IMAP email account that can be used as a sender in your campaigns. The account is validated against banned hosts and SSRF checks before being connected. Gmail SMTP/IMAP connections are not allowed — use OAuth instead.Documentation Index
Fetch the complete documentation index at: https://developer.lemlist.com/llms.txt
Use this file to discover all available pages before exploring further.
userId parameter is optional. When provided, the email account is assigned to that specific team member (who must belong to the team). When omitted, it defaults to the API key creator or team owner.Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Display name for the sender.
"John Doe"
Email address used as the sender.
"john@company.com"
SMTP server hostname.
"smtp.company.com"
SMTP server port.
587
SMTP authentication login.
"john@company.com"
SMTP authentication password.
"password123"
IMAP server hostname.
"imap.company.com"
IMAP server port.
993
IMAP authentication login.
"john@company.com"
IMAP authentication password.
"password123"
Use SSL/TLS for SMTP connection.
Use SSL/TLS for IMAP connection.
Assign the email account to a specific team member. Must be a member of the team. Defaults to the API key creator or team owner.