/email:attachments - Email Attachments
List, download, and process email attachments including calendar invites.
Usage
/email:attachments <id> # List attachments for an email
/email:attachments <id> download # Download a specific attachment
/email:attachments <id> calendar # Extract calendar event from ICS
When Invoked
List Mode (default)
- Call
list_attachmentswith the email ID - Display attachment names, types, and sizes
Download Mode
- Call
list_attachmentsto show available files - Ask user which attachment to download (if multiple)
- Call
download_attachmentto save to temp directory - Return the file path for further processing
Calendar Mode
- Call
extract_calendar_eventto parse the ICS attachment - Display event details (title, date, time, location, organizer)
- Ask if user wants to add to Apple Calendar
- Call
create_calendar_eventwithconfirm=trueonly after user approval
Safety Rules
- Calendar event creation requires explicit user confirmation
- Downloaded files go to temp directory (OS handles cleanup)
- Always show event details before creating calendar entry