web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Forwarding digitally s...
Power Automate
Unanswered

Forwarding digitally signed email from shared inbox to itself

(1) ShareShare
ReportReport
Posted on by 4

TLDR

-Need to strip digital signature from email to parse attachments.

-Struggling to forward the email back to itself, without the Forward An Email V2 looping infinitely. I can not use send an email since the emails are digitally signed, and therefore cant create a for each loop to send a new email for each attachment. 

1. When Email New Email Arrives

2. Grab Domain

3a. If domain IS NOT ours (it is digitally S/MIME signed)

i. Forward email back to ourselves removing signature, allowing email to be read

ii. Flow triggers again with our domain now, like recursion

3b. If Domain IS OURS

i. Enter attachment parsing (already works fine)

 

Hello! I was trying to create a power automate flow that automatically grabs the attachments of an outlook email, formats, filters, and places them into a SharePoint folder. It worked fantastic with my own testing, until I realized that the majority of the emails being sent to the shared inbox are digitally signed with S/MIME. 

 

I found one other person who posted their solution to this problem. Their method was forwarding the emails to another inbox which removes the digital signature and then resends them again non digitally signed. This allows the flow to properly parse and read the emails.

 

I would prefer to not tank or use another email inbox as the intermediate link and was trying to forward the email back to itself (the shared inbox) and this is where my problems are. I can not send a new email for each attachment because it can't read the attachments in the first place and the forward V2 function seems janky (though it's my only solution afaik).

 

When I was able to forward the email back to itself it enters an endless loop that I can't really explain too. Please see below, the left side is what was originally in the flow and works fine. The condition checking the domain seems okay as well, so it appears to be just within the forward an email function. Is there an easier solution to this or another way someone can come up with?rxaHY9Bw (1).png

Categories:
I have the same question (0)
  • bigsir_ Profile Picture
    4 on at

    I should add I have tried using a do while loop to counteract the infinite loop by initializing a Boolean above, then setting the exit condition to true after the email is sent.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard