Trying to open up email with a pdf attachment

Hi guys im working on a invoicing project where the user want to have the ability to send the generated invoice pdf to their customers however they dont want it to be send automatically they want it such that there will be a pop up to gmail as shown below. so after pressing a button on the application it should lead to a new page like below the generated pdf file will be stored on google drive

with the attached pdf so they can add in the recipient and message manually im very new to working with API's so hopefully someone can provide some help for this :smiley: thank you in advance

Hey @zx_lim,

It looks like attaching the invoice directly inside Gmail isn't likely possible - the way I think you're thinking anyway. However, one solution could be to include a link to the invoice within the email itself–that would definitely work within Gmail’s setup. (
mailto:me@me.com?subject=Me&body=Text)

If you're set on having the invoice as an actual attachment, you’d need to go about building the email composer in Retool and send the email from there.

Also, just curious—how were you thinking of generating the invoices? There are a few ways you could approach that, so I’d be happy to help explore options depending on your needs. Let me know! :blush:

1 Like