[Bug] Agent can't send email with attachment

Description: My agent is having trouble to send an email using Retool Email with a csv file attache.d

Params

to:"xxx@xxx.com"

subject"Test"

body:"test"

attachment:"[{"name": "2026-05-09.csv", "type": "text/csv", "base64Data": "[REDACTED]", "sizeBytes": 156}]"

Result

"Invalid attachment format. Use a File Input component or construct the object manually with all required fields. Attachments must include all required fields: { name: string, type: string, base64Data: string, sizeBytes: number }."

Still have an issue sending emails with attachments. Same error persists across different versions.

I have some code that sends emails and I use this JSON format for the attachment object:

[{
data: '[REDACTED]',
name: 'fileName.csv',
contentType: 'text/csv'
}]

Thanks

Hey @fnfilho welcome back to the Community!

Thanks for reporting this. We know you also filed a cloud breakage report and received help from Jay. We've confirmed the issue and our team is actively working on a fix. We'll update this thread once there's a resolution.

Appreciate your patience! :folded_hands: