send_file
Send a file from the user's Drive as an email attachment. Max attachment size: 5 MB. Files larger than 5 MB are rejected. The email is sent using the Sweeppea email template. Each transmission is recorded in the file's sharing history. PRIVACY: The recipient email must be provided by the user — never assume or fabricate email addresses.
send_file
When to use
Send a file from the user's Drive as an email attachment. Max attachment size: 5 MB. Files larger than 5 MB are rejected. The email is sent using the Sweeppea email template. Each transmission is recorded in the file's sharing history. PRIVACY: The recipient email must be provided by the user — never assume or fabricate email addresses.
Parameters to validate before calling
file_token (string, required) — The file token (UUID) of the file to send. Get via fetch_files.
recipient_email (string, required) — Destination email address
email_subject (string, optional) — Custom email subject line. Default: "File shared from Sweeppea".
email_message (string, optional) — Additional message text for the email body.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_token | Yes | The file token (UUID) of the file to send. Get via fetch_files. | |
| email_message | No | Additional message text for the email body. | |
| email_subject | No | Custom email subject line. Default: "File shared from Sweeppea". | |
| recipient_email | Yes | Destination email address |