Why is the Pipedream email trigger workflow not receiving full 'Delivery Status Notification (Failure)' emails forwarded from <mailto:info@evoasis.com.tw|info@evoasis.com.tw>?

This topic was automatically generated from Slack. You can find the original thread here.

Hi, Our system send member verification email with one-time 4-6 digits code to member. In this case (attached) our system send email to member email: mazda2615@gmail.com. However, maybe the member’s email is wrong (most of the case it is) so this email is not delivered successfully. Because it failed, our system also sent notification email to info@evoasis.com.tw with original verification email content.
Above flow used to be working. But recently, if the email subject is ‘Delivery Status Notification (Failure)’ and the email origin is ‘MAILER-DAEMON@eu-west-1.amazonses.com’ it(forwarding) will fail. Other emails work just fine.
The issue is that my Pipedream email trigger workflow does not correctly receive email. Only partialy email is received.
My forward logic is any email send to ‘info@evoasis.com.tw’ should be forwarded to ‘emu1fz3uxmotquf@upload.pipedream.net’ .

Attached email raw headers and original email attachments. Also I have check with info@evoasis.com.tw the email service provider, they said it is pipedream’s issue. The mail had been successully forwarded. Below is what they provided: Here is the logs for your reference:
2023-06-25 18:21:48 1qDZ3E-001FFw-Fb H=a1-222.smtp-out.eu-west-1.amazonses.com [54.240.1.222]:49515 I=[108.167.172.165]:25 Warning: “SpamAssassin as evoasis detected message as NOT spam (-0.0)”
2023-06-25 18:21:48 1qDZ3E-001FFw-Fb <= <> H=a1-222.smtp-out.eu-west-1.amazonses.com [54.240.1.222]:49515 I=[108.167.172.165]:25 P=esmtps X=TLS1.2:ECDHE-RSA-AES128-SHA256:128 CV=no S=11703 id=01020188f4dce077-2fe505ab-f91f-4083-b731-a7e0eb5d8c84-000000@eu-west-1.amazonses.com T=“Delivery Status Notification (Failure)” from <> for info@evoasis.com.tw
2023-06-25 18:21:48 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1qDZ3E-001FFw-Fb
2023-06-25 18:21:49 1qDZ3E-001FFw-Fb SMTP connection identification D=evoasis.com.tw O=info@evoasis.com.tw E=emu1fz3uxmotquf@upload.pipedream.net M=1qDZ3E-001FFw-Fb U=evoasis ID=1301 B=redirect_resolver
2023-06-25 18:21:49 1qDZ3E-001FFw-Fb Sender identification U=evoasis D=evoasis.com.tw S=info@evoasis.com.tw
2023-06-25 18:21:49 1qDZ3E-001FFw-Fb SMTP connection outbound 1687735309 1qDZ3E-001FFw-Fb evoasis.com.tw emu1fz3uxmotquf@upload.pipedream.net
2023-06-25 18:21:49 1qDZ3E-001FFw-Fb SMTP connection identification D=evoasis.com.tw O=info@evoasis.com.tw E=emu1fz3uxmotquf@upload.pipedream.net M=1qDZ3E-001FFw-Fb U=evoasis ID=1301 B=redirect_resolver
2023-06-25 18:21:49 1qDZ3E-001FFw-Fb Sender identification U=evoasis D=evoasis.com.tw S=info@evoasis.com.tw
2023-06-25 18:21:49 1qDZ3E-001FFw-Fb => info <info@evoasis.com.tw> F=<> R=virtual_user T=dovecot_virtual_delivery S=12109 C=“250 2.0.0 <info@evoasis.com.tw> INYBAw3MmGROcgQALKuzIQ Saved”
2023-06-25 18:21:49 1qDZ3E-001FFw-Fb => emu1fz3uxmotquf@upload.pipedream.net (info@evoasis.com.tw) <info@evoasis.com.tw> F=<> R=deliver_through_cm_smtp T=remote_smtp S=12814 H=eig-east.smtp.a.cloudfilter.net [3.228.35.199] I=[108.167.189.108] X=TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256 CV=yes DN=“/C=US/ST=California/O=Proofpoint, Inc./CN=*.smtp.a.cloudfilter.net” C=“250 DZ3FqqklWPPyRDZ3Fq9Ehq mail accepted for delivery”
2023-06-25 18:21:49 1qDZ3E-001FFw-Fb Completed

You might have received it in the other folder. Hence, I would suggest you to check the emails in all the folders including spam. If the issue still persists, then please let us know so that we can investigate further on the issue.

Hi , could you please explain how your issue is related to Pipedream?

I have a workflow that receives email. This is a standard trigger I believe. It works fine but some of my emails are not triggered(received) and it seems to be Pipedream issue.

It works fine but some of my emails are not triggered(received) and it seems to be Pipedream issue.
May I ask what have you check to ensure that this is Pipedream issue?

Also, could you share what specific trigger you’re using from Pipedream to receive an email?

Please check my replies earlier. I have confirmed with tech support of my email service provider and they provided log history. They say the forward is done. It it Pipedream issue.

Thanks , could you share what specific trigger you’re using from Pipedream to receive an email? Screenshots would be a great help

This workflow is triggered on new emails to:
emu1fz3uxmotquf@upload.pipedream.net <—this is the trigger workflow.

Hi, Leo if you can check my attached files you will understand all the details. Here is the screenshot proves the email trigger workflow is working just fine. The issue is some emails with specific conditions are not received. The condition is:subject is ‘Delivery Status Notification (Failure)’ and the email origin is ‘MAILER-DAEMON@eu-west-1.amazonses.com’ it(forwarding) will fail.

I see, so in summary:
• In Pipedream, you setup a workflow with email trigger
• Then you send emails to Pipedream unique email address from some emails. Then if the email subject is ‘Delivery Status Notification (Failure)’ and the email origin is ‘MAILER-DAEMON@eu-west-1.amazonses.com’ it(forwarding) will fail. Fail mean you do not receive any event on Pipedream
Do I understand the issue correctly?

YES it is correct.

So there will be no event always for those address? Or jut sometime?

Just a quick update. I made the email trigger in v1 workflow 12 months ago and it works fine until few weeks ago. I found this 3 days and quickly made a v2 trigger as well doing the same thing. But emails meet the critiria will fail.

Hi, the sender email (MAILER-DAEMON@eu-west-1.amazonses.com) should not be a problem. The same email address also send other emails with different subject and I can receive it. See attached.

I see, so sometimes there will be no event emitted from those email, Or is it because of the email subject? Could you do me a favor to test the issue on your side with the subject Delivery Status Notification (Failure)?

If the sender changed to my personal email (becuase I can also receive it), means I use my personal email address to send the same email contents to Pipedream trigger. It can be received. See attached. This is kind of simulation and it proves again the email meets the conditions will fails.

So the failed conditions are:

  1. the email origin is [MAILER-DAEMON@eu-west-1.amazonses.com](mailto:MAILER-DAEMON@eu-west-1.amazonses.com)
  2. the email subject is Delivery Status Notification (Failure)

Could you confirm this?

I will say it has nothing to do with subject.

  1. Yes you are correct. the email origin is [MAILER-DAEMON@eu-west-1.amazonses.com](mailto:MAILER-DAEMON@eu-west-1.amazonses.com)
  2. the email subject is Delivery Status Notification (Failure)