Skip to main content
const client = naive.forUser(alice.id);
await client.email.createInbox({ local_part: "outreach" });
await client.email.listInboxes();
await client.email.deleteInbox(inboxId);
await client.email.send({ from_inbox, to, subject, body }); // from_inbox = inbox id or address

// Inbound (received) email
await client.email.inbox({ inboxId, limit: 20 }); // list received messages
await client.email.getEmail(emailId);             // one message (sent or received)
Gated by the email primitive in the user’s AccountKit. Inbound deliveries can also trigger the email.received webhook.