https://linen.dev logo
Facing issues with GMAIL_SEND_EMAIL tool.
# 🖥│support-forum
f
Not able to send attachment successfully with the correct parameters in the attachment json of the tool, I'm attaching the error log file here. Also when can we expect support for GCP cloud storage URL's as well for uploading attachments. https://cdn.discordapp.com/attachments/1441709016794402867/1441709017159303228/error_logs.txt?ex=693d25a7&is=693bd427&hm=38381d0633e53cdd847f055d2c50f5852e19a7c1c115ec701b32bafc69488873&
u
Hey @Facet, as you are using SDK, you can pass your file directory directly in
attachment
argument. Example:
tools.execute("GMAIL_SEND_EMAIL", {userId: "default", arguments: {recipient_email: "<email>", subject: "Test", body: "Test", attachment: "/Users/<directory>/file.png"}})