Working With Attachments in Agent Mail Nylas has detailed how its Agent Accounts handle email attachments, including policy limits that control inbound files by size, count, and MIME type. The system drops over-limit attachments but still delivers the message, allowing agents to respond gracefully. Developers can set per-workspace policies to enforce different limits for different agents. An invoice-processing agent receives an email at 2 a.m. The PDF it needs is attached — along with a 60 MB screen recording the sender included "for context." Whether your agent handles that gracefully or chokes on it depends entirely on decisions you made weeks earlier: what your mailbox accepts, what it drops, and how your code pulls files out. Here's the full attachment path for a Nylas Agent Account https://developer.nylas.com/docs/v3/agent-accounts/ — the hosted, API-controlled mailboxes currently in beta — covering inbound downloads, outbound sends, and the policy limits that act as your first line of defense. When mail arrives, attachment IDs ride along on the message object. The download itself is one GET, streaming the raw bytes: curl --request GET \ --url "https://api.us.nylas.com/v3/grants/