cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Gunsmoke125
Regular Visitor

Send Email V2 - Attachment Size Limit

Problem: Send Email V2 errors with a Status 502 - Bad Gateway when there are attachments greater than 3MB

 

I’ve read a number of posts across different communities that identify the same issue I am experiencing. The issue appears to be down to the GRAPH API which is used by the “Send Email V2” flow action having an attachment size limit of 4MB.

 

Aside from the limit being too low for many business processes, I am finding that even when attachments do not exceed 4MB they aren’t getting through. In my tests, I find that anything above 3MB generates the errors seen. I have 3 PDF attachments totalling 3.21 MB on disk (3,371,008 bytes) yet this still fails to get through.

 

Questions:

1. Does anyone have a workaround for this issue that they can point me to?

2. Does the GRAPH API team have plans to increase this limit to something more appropriate to todays email environments?

2 ACCEPTED SOLUTIONS

Accepted Solutions
Dual Super User
Dual Super User

Re: Send Email V2 - Attachment Size Limit

Hey @Gunsmoke125 

 

You can probably check this one out: 

 

https://poszytek.eu/en/microsoft-en/office-365-en/flow-en/overcome-4mb-mail-limit-sent-from-microsof... 

 

Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

Super User
Super User

Re: Send Email V2 - Attachment Size Limit

Hi @Gunsmoke125 

 

I can answer the first question. 

 

There's a workaround I use all the time to avoid these issues. I usually upload files to a SharePoint or a OneDrive and then just get a share link and send that in the emails.

 

There's a couple of advantages:

  1. You don't hit limitations as you're running into now.
  2. Files can be changed if needed without the need of sending new ones
  3. People can collaborate on the data and always be in sync.

 

I've opted not to send files in emails at all, even if I'm sending emails from Outlook. 

 

I don't know if this is a possibility, but it's a solution that has been working wonderfully for me.

 

If it doesn't, please let me know and we'll figure this out together.

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Cheers
Manuel

View solution in original post

7 REPLIES 7
Dual Super User
Dual Super User

Re: Send Email V2 - Attachment Size Limit

Hey @Gunsmoke125 

 

You can probably check this one out: 

 

https://poszytek.eu/en/microsoft-en/office-365-en/flow-en/overcome-4mb-mail-limit-sent-from-microsof... 

 

Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

Super User
Super User

Re: Send Email V2 - Attachment Size Limit

Hi @Gunsmoke125 

 

I can answer the first question. 

 

There's a workaround I use all the time to avoid these issues. I usually upload files to a SharePoint or a OneDrive and then just get a share link and send that in the emails.

 

There's a couple of advantages:

  1. You don't hit limitations as you're running into now.
  2. Files can be changed if needed without the need of sending new ones
  3. People can collaborate on the data and always be in sync.

 

I've opted not to send files in emails at all, even if I'm sending emails from Outlook. 

 

I don't know if this is a possibility, but it's a solution that has been working wonderfully for me.

 

If it doesn't, please let me know and we'll figure this out together.

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Cheers
Manuel

View solution in original post

Gunsmoke125
Regular Visitor

Re: Send Email V2 - Attachment Size Limit

Thanks @yashag2255 , that looks like it might work for me!

I’ll give it a try.

Gunsmoke125
Regular Visitor

Re: Send Email V2 - Attachment Size Limit

Thanks for the suggestion @manuelstgomes. Your suggestion is great and I do use that approach for most of our file sharing flows, but this case does require that we send the attachments to several recipients. I’m pretty sure other people will see your suggestion and find it very useful.

Super User
Super User

Re: Send Email V2 - Attachment Size Limit

Hi @Gunsmoke125 

 

Sounds good. If it's necessary, then there's no way to work around it :).

 

Hope I helped and anything else, please let me know.

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Cheers
Manuel

Dual Super User
Dual Super User

Re: Send Email V2 - Attachment Size Limit

Hey @Gunsmoke125 

 

No problem! Were you able to resolve? If this question is resolved, please mark the response that helped you as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

RachelRig Helper III
Helper III

Re: Send Email V2 - Attachment Size Limit

This is not a solution for me. I need to send attachments to external vendors who do not have access to my SharePoint sites. Uploading attachments to a library is therefore not an option. Why is this limit so low?? This is a complete deal breaker. Just when I thought I had the (absurdly complicated) attachment issue resolved, my users hit this size limit. WHY?

Helpful resources

Announcements
firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (7,686)