Right now, makeRawMessage in email-helpers.ts does not support sending attachments. We need to be able to support it (more specifically, should be able to send .pdfs, .docx, .png, .jpeg/.jpg, and hopefully .heic).
Relevant docs:
https://developers.google.com/workspace/gmail/api/guides/uploads
For now, we can assume that files will be relatively small and can thus use uploadType=multipart.
Right now,
makeRawMessageinemail-helpers.tsdoes not support sending attachments. We need to be able to support it (more specifically, should be able to send .pdfs, .docx, .png, .jpeg/.jpg, and hopefully .heic).Relevant docs:
https://developers.google.com/workspace/gmail/api/guides/uploads
For now, we can assume that files will be relatively small and can thus use
uploadType=multipart.