Exposing envelope From/To in workflow comparison | Community
Skip to main content
Submitted

Exposing envelope From/To in workflow comparison

Related products:Core Inbox
  • September 15, 2025
  • 0 replies
  • 5 views

Jesper Birkestrøm

Hi,

In email, it is possible to impersonate anyone in the To and From headers in Intercom.

It seems that the entire Intercom system relies solely on these headers. In workflows, I can only compare on "recipient email," which turns out to be the To and CC headers.

I would like to be able to compare on the RCPT TO in workflows.

This makes it very challenging to use in multibrand.

$ swaks --server MY_MTA --port 587 --tls\
    --auth LOGIN --auth-user $SASL_USER --auth-password $SASL_PASS\
    --from bill.gates@microsoft.com\
    --to APP_ID@XXXXX.intercom-mail.eu\
    --header "To: anybody@hq.intercom.com"\
    --header "From: not-just-anybody@hq.intercom.com"\
    --header "Subject: Envelope vs To test"\
    --body "Hello. The envelope RCPT is Intercom ID, the header To is bogus."