# EDI File Gmail Attachment Issue

**URL:** <https://connective.celigo.com/t/edi-file-gmail-attachment-issue/5975>\
**Category:** Integrator.io\
**Created:** [January 6, 2026, 2:47pm UTC](https://connective.celigo.com/t/edi-file-gmail-attachment-issue/5975 "2026-01-06T14:47:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Panneerselvam\_Varada](https://avatars.discourse-cdn.com/v4/letter/p/5e9695/32.png) [@Panneerselvam\_Varada](https://connective.celigo.com/u/Panneerselvam_Varada)\
**Post date:** [January 6, 2026, 2:47pm UTC](https://connective.celigo.com/t/edi-file-gmail-attachment-issue/5975/1 "2026-01-06T14:47:20Z")

</div>

Hi

We have a requirement to get the EDI file from FTP and send the EDI file in email as attachment. We created the flow with Pre built solution - Send an email w/ attachments is not working as expected. The Pre built solution have map and post map hook. We received the email with attachment file without actual data. It is having some random characters. How send EDI file as attachment in email?

 ![2](https://us1.discourse-cdn.com/flex001/uploads/celigo/original/2X/4/489e85c658d07ab63c1df73604fe99756c3386af.png)

 ![1](https://us1.discourse-cdn.com/flex001/uploads/celigo/original/2X/f/fb5a9ea20ed5e3d10c19075b3af9d5b938fe944d.png)

---

<div class="post-metadata">

**Author:** ![tylerlamparter](https://sea1.discourse-cdn.com/flex001/user_avatar/connective.celigo.com/tylerlamparter/32/9204_2.png) [@tylerlamparter](https://connective.celigo.com/u/tylerlamparter)\
**Post date:** [January 6, 2026, 6:47pm UTC](https://connective.celigo.com/t/edi-file-gmail-attachment-issue/5975/2 "2026-01-06T18:47:22Z")

</div>

You need this step to convert the blobKey to base64 string.

> [@FAQ: Convert a blob key to base64 string for import?](https://connective.celigo.com/t/faq-convert-a-blob-key-to-base64-string-for-import/358/4):
>
> I built a different way to do this which is all in Celigo. If you go to the marketplace, you can find it under "Blobkey Conversion Helper". With this being said, you normally do not need to use this. Normally, if you need to send base64 to your endpoint, you'd do something like this if you already have a blobKey: If …
