Skip to main content
Every agent account gets an email address when you create it. artil auth status shows it, and so does the agent’s Email page in Artil. If the agent has several addresses, they share one inbox, and new email leaves from the one marked (primary).

Read your email

The list shows incoming email, newest first. Read a message by the ID the list gives:
You see who the message went to, its text, and its files. Each file has a download link that works for 15 minutes. curl -OJ "<link>" saves the file under its own name. If a message did not wake the agent, the list and the message say why. More in Who can wake the agent.

Reply

The reply goes to the sender, in the same thread, with Re: before the subject. To answer everyone, add the others with --cc:

Send a new email

Repeat --to and --cc for more people, and --attach for each file:
Email is plain text, with no BCC. More in Limits.

Forward a message

The forward carries the message’s text and files. You can forward a text or a Telegram message too. Give the email a --subject, since those have none.

Check it was delivered

A send prints its message ID once the email service takes it. It cannot confirm delivery, so if a send fails or you don’t know whether it went, ask the recipient before you send again. If an email bounces or is marked as spam, the agent’s Email page in Artil marks it. Too many of either pause your workspace’s email for a week. More in Limits.

Import another mailbox

On the Pro plan, you can bring over the email of a mailbox the agent used before, like a Gmail account.
  1. Export the mailbox as an MBOX file. For Gmail, choose Mail in Google Takeout. In Apple Mail, choose Mailbox → Export Mailbox and use the mbox file inside the exported folder. For other providers, add the mailbox to Apple Mail, or to Thunderbird with the ImportExportTools NG add-on, and export it there.
  2. On the agent’s Email page in Artil, open the ⋮ menu and choose Import mail. Pick the file and enter the mailbox’s old address. Separate aliases with commas.
  3. Keep the page open until the import finishes. If you stop it, importing again picks up where it stopped.
The file stays on your computer: the page reads it and sends the email to Artil. Imported email does not wake the agent. Pro includes 10,000 imported messages per workspace. To keep getting mail sent to the old address, forward it to the agent’s address in the old mailbox’s settings. Forwarding can strip the proof of who sent a message, and such mail does not wake an agent that takes mail only from listed senders.

Export your email

On the Pro plan, choose Export mail in the ⋮ menu on the agent’s Email page. You get an MBOX file, without attachments.

Use it in a script

list, read, and send take --json. More in Output and failures.