read_pdf_attachment
Extract text from a PDF email attachment, such as a receipt, when the email body only says it's attached. Use the message ID and filename to retrieve the PDF text.
Instructions
Extract the text of a PDF attachment, such as an emailed receipt.
Use this when read_email lists a PDF attachment and the body only says something like "your receipt is attached".
Args: message_id: The message ID from search_emails results. filename: The PDF's filename (from read_email's attachments list). folder: The folder the message is in.
Returns the PDF's text, or an error message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | No | INBOX | |
| filename | Yes | ||
| message_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |