ArgorantDocs

Connect any mailbox (SMTP and IMAP)

Connect mailboxes from Zoho, Fastmail, Yahoo, iCloud, IONOS, your web host or any other provider with their server settings. Test the sign-in first, connect one at a time or many from a CSV file.

Google and Microsoft mailboxes connect with their own sign-in (see Connect a Google Workspace, and Microsoft 365 in the app under Mailboxes). Every other provider connects with two sets of server settings. The sending server (SMTP) lets campaigns send from the mailbox. The server for reading replies (IMAP) brings the answers into your inbox in Argorant, so a reply stops the sequence for that person.

Argorant signs in to both before it saves anything. A mailbox connects only when sending and reading replies both work. The password is stored encrypted and is never shown again, in the app, the API, the CLI or the connector.

In the app

Open Mailboxes, click Add accounts, then Connect existing and Any other provider.

  1. Pick your provider from the list. It fills in the server names, ports and security for you. Pick Other provider when yours is not listed and copy the settings from your provider's help pages.
  2. Enter the email address, the sender name people see and the password.
  3. Click Test connection. You see one line for sending and one for reading replies, each with what worked or what to fix.
  4. Click Connect mailbox. It shows up in the list right away with its daily limit and health.

To connect many mailboxes at once, switch to Many from a CSV file, upload the file and check the result for each row.

App passwords

Many providers do not accept your normal password from other apps when two-step sign-in is on. Make an app password at the provider and use it instead.

ProviderWhere to make an app password
Zoho MailMy Account, Security, App Passwords. Turn on IMAP access in Zoho Mail settings too.
FastmailSettings, Privacy and Security, Manage app passwords. Always needed.
Yahoo MailAccount Info, Account Security, Generate app password. Always needed.
iCloud Mailaccount.apple.com, Sign-In and Security, App-Specific Passwords. Always needed. The username is your full iCloud address.
Outlook.com and HotmailMicrosoft often refuses passwords from other apps for these. Try an app password; if the test says the password is wrong, connect with the Microsoft sign-in instead.

Provider settings

Pick a provider and these are filled in. The list in the app and GET /api/v1/inboxes/smtp/presets is always the current one.

PresetProviderSending serverServer for reading replies
zohoZoho Mail (business domain)smtppro.zoho.com, 587, STARTTLSimappro.zoho.com, 993, SSL
zoho_euZoho Mail (EU data center)smtppro.zoho.eu, 587, STARTTLSimappro.zoho.eu, 993, SSL
zoho_personalZoho Mail (personal or free plan)smtp.zoho.com, 587, STARTTLSimap.zoho.com, 993, SSL
fastmailFastmailsmtp.fastmail.com, 587, STARTTLSimap.fastmail.com, 993, SSL
godaddyGoDaddy Professional Emailsmtpout.secureserver.net, 587, STARTTLSimap.secureserver.net, 993, SSL
titanTitan Emailsmtp.titan.email, 587, STARTTLSimap.titan.email, 993, SSL
hostingerHostinger Emailsmtp.hostinger.com, 587, STARTTLSimap.hostinger.com, 993, SSL
ionosIONOS (US)smtp.ionos.com, 587, STARTTLSimap.ionos.com, 993, SSL
ionos_deIONOS (Germany)smtp.ionos.de, 587, STARTTLSimap.ionos.de, 993, SSL
ionos_ukIONOS (UK)smtp.ionos.co.uk, 587, STARTTLSimap.ionos.co.uk, 993, SSL
namecheapNamecheap Private Emailmail.privateemail.com, 587, STARTTLSmail.privateemail.com, 993, SSL
yahooYahoo Mailsmtp.mail.yahoo.com, 587, STARTTLSimap.mail.yahoo.com, 993, SSL
icloudiCloud Mailsmtp.mail.me.com, 587, STARTTLSimap.mail.me.com, 993, SSL
outlookOutlook.com or Hotmailsmtp-mail.outlook.com, 587, STARTTLSoutlook.office365.com, 993, SSL
otherOther provideryou enter ityou enter it

Use port 587 for sending. If you enter 465, Argorant tries 587 for you and saves 587 when it works, and the test result then shows port 587 and STARTTLS for sending. The username for both servers is the email address unless you set another one. Reading replies uses the same username and password as sending unless you set others. Without a preset, security follows the port, so STARTTLS on 587 and 143 and SSL on 993.

What the test result means

ResultWhat it meansWhat to do
signed_inThe server accepted the sign-in.Nothing.
wrong_passwordThe server refused the username or password.Check both. Use an app password if the provider asks for one, and check that IMAP access is turned on at the provider.
not_reachableThe server did not answer, or there is no server with that name.Check the server name and the port.
security_mismatchThe secure connection did not work.Try the other security setting. For sending, use port 587 with STARTTLS.
not_allowedThe server name points to a private network.Use your provider's public server name.
failedSomething else went wrong.Check the settings and try again, or contact support.

Many mailboxes from a CSV file

One row per mailbox. Each row needs email, smtp_password (or password) and either a preset or smtp_host, smtp_port and imap_host. Empty columns take the defaults above, and 25 emails a day.

ColumnExample
emailanna@yourcompany.com
sender_nameAnna Weber
presetzoho
smtp_host, smtp_port, smtp_securitymail.yourcompany.com, 587, starttls
smtp_username, smtp_passwordanna@yourcompany.com, your app password
imap_host, imap_port, imap_securitymail.yourcompany.com, 993, ssl
imap_username, imap_passwordonly when they differ from sending
daily_limit30
CSV
email,sender_name,preset,smtp_password
anna@yourcompany.com,Anna Weber,zoho,app-password-1
ben@yourcompany.com,Ben Hill,zoho,app-password-2
cara@othercompany.com,Cara Lane,,app-password-3

The third row has no preset, so it also needs smtp_host, smtp_port and imap_host filled in, or it comes back as a row to fix. Every row gets its own result. Rows that connected stay connected when others fail, so fix the failed rows and upload only those again.

Reconnect after a password change

When the provider refuses the password, the mailbox shows Sign in again in the Mailboxes list. If reading replies is refused three times in a row, the mailbox is marked disconnected and stays that way until you reconnect it.

To reconnect, connect the same address again with the new password. In the app, click Reconnect on the mailbox, enter the new password and connect; the other settings are kept. With the API, the CLI or your AI assistant, connect the same address again, and it replaces the saved settings and password of that mailbox.

From the API

Shell
# Test first: nothing is saved
curl -X POST "https://app.argorant.com/api/v1/inboxes/smtp/test" \
  -H "Authorization: Bearer $ARGORANT_API_KEY" -H "Content-Type: application/json" \
  -d '{"email":"anna@yourcompany.com","preset":"zoho","smtp_password":"app-password"}'

# Connect one mailbox
curl -X POST "https://app.argorant.com/api/v1/inboxes/smtp" \
  -H "Authorization: Bearer $ARGORANT_API_KEY" -H "Content-Type: application/json" \
  -d '{"email":"anna@yourcompany.com","display_name":"Anna Weber","preset":"zoho","smtp_password":"app-password"}'

# Connect up to 25 at once
curl -X POST "https://app.argorant.com/api/v1/inboxes/smtp/bulk" \
  -H "Authorization: Bearer $ARGORANT_API_KEY" -H "Content-Type: application/json" \
  -d '{"mailboxes":[{"email":"anna@yourcompany.com","preset":"zoho","smtp_password":"app-password-1"},{"email":"ben@yourcompany.com","preset":"zoho","smtp_password":"app-password-2"}]}'

A refused sign-in on connect answers 422 with the code sign_in_failed and the test result in error.details.test. The bulk route answers 200 with a result per row. A free trial connects up to 2 mailboxes. You can test 30 times and connect 30 times an hour, and connect up to 500 mailboxes an hour through the bulk route.

From the terminal

Shell
argorant inboxes presets
argorant inboxes test-smtp --email anna@yourcompany.com --preset zoho
argorant inboxes connect-smtp --email anna@yourcompany.com --preset zoho --name "Anna Weber"
argorant inboxes connect-smtp --csv mailboxes.csv

The CLI never takes the password on the command line. It asks for it, or reads it from an environment variable you name with --password-env NAME, or from ARGORANT_MAILBOX_PASSWORD. See CLI.

From your AI assistant

With the Argorant connector, ask in plain words, for example "connect anna@yourcompany.com, it is a Zoho mailbox". The assistant uses argorant_test_smtp_mailbox to check the sign-in and argorant_connect_smtp_mailbox to connect one mailbox or up to 25. See Tools.

After connecting

The mailbox sends like any other. Set its daily limit and warm-up under Mailboxes or with PATCH /api/v1/inboxes/{email}, and pick it as a sender in any campaign. Follow-ups go out in the same thread, replies land in your inbox in Argorant, and you answer them from there in the same thread. Replies that land in the junk or spam folder are read too, but only from people you emailed, so spam is ignored.

On this page