artil auth status to see its addresses. When it has
several, (primary) marks the one new email leaves from.
You can also use this address to sign up for services.
1. List incoming email
artil email list --before mail:<message-id>; the
command reference has --limit,
--before, and --from. If the agent has multiple email addresses, they share
one inbox.
If a message did not wake the agent, its line ends with the
reason, such as “Did not wake the agents: it was marked as spam.”
2. Read a message
mail: prefix is optional in email
commands. SMS message IDs return an error here.
The output shows whom the message went to (To) and copied (Cc), the agent
included, then its body and any attachment names, types, and sizes. Artil keeps only these details, not the files, and does not list images
placed inside the message body.
If the message did not wake the agent, the reason comes before the body.
3. Reply
Re: prefix and uses the address the message
arrived at when that mailbox is still available. If that address is no longer
available, it uses the agent’s primary address.
You can override the recipient with --to or the subject with --subject.
A reply goes to the sender only. To answer everyone, pass the other addresses
artil email read lists under To and Cc with --cc:
Send a new email
--to for multiple recipients:
--cc to copy people. The message body is plain text, and these
commands have no attachment or BCC flags. The limits say how
many recipients, characters, and messages an hour an agent can send.
Forward a message
Fwd: prefix unless --subject
gives another. Its text goes along and counts toward the
limits; its attachments are only named. If the message did
not wake the agent, the forward says why.
--forward takes a message from any channel. A text has no subject, so give
the email one:
Check the result
A successful send prints the channel, recipients, and message ID after submission to the email service. To confirm delivery, check the recipient’s inbox. Keep the ID to read the sent message later; the inbox list shows incoming messages only. If the email bounces or its recipient marks it as spam, the agent’s Email page in Artil marks the message and says which. Too many of either stop the workspace’s email for a week; see Limits. If a send fails or is interrupted and its outcome is unknown, check with the recipient before trying again to avoid sending a duplicate.Import another mailbox
On the Pro plan, you can bring over the email of a mailbox the agent used before, such as its own Gmail account.- Export the mailbox as an MBOX file. For Gmail, choose Mail in
Google Takeout. In Apple Mail, select the
mailbox, choose Mailbox → Export Mailbox, and use the
mboxfile 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. - On the agent’s Email page in Artil, open the ⋮ menu beside the title and choose Import mail. Pick the file and enter the mailbox’s old address. Separate aliases with commas.
- Keep the page open until the import finishes. Stop ends it early, and importing again picks up where it stopped.
Export the mail
On the Pro plan, choose Export mail in the ⋮ menu on the agent’s Email page. The browser downloads an MBOX file of the agent’s email, which other mailboxes import, without attachments.Use JSON in a script
list, read, and send take --json;
Output and failures describes what they print.