Connects a new SMTP/IMAP email account to your team.
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.