download_attachment
Download email attachments from Yandex Mail to your local disk by specifying the folder, email ID, and filename. Saves the file to the designated directory and returns the path and size.
Instructions
Download an email attachment to disk.
Args: folder: Mailbox folder containing the email email_id: Email ID from search_emails() result filename: Attachment filename to download (from read_email attachments list) save_dir: Directory to save the file (default: ~/Downloads)
Returns dict with saved file path and size.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | Yes | ||
| email_id | Yes | ||
| filename | Yes | ||
| save_dir | No |