Skip to content
NEWMarketplace and your team: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Security & Compliance

Security & Compliance

Analyze Gmail Sender IP Reputation and Authentication Headers

Runs on each new Gmail message, extracts the originating IP, queries IP quality and reputation APIs and checks email authentication results.

What it does

![]({{ $env.WEBHOOK_URL }} ## Analyze IP Address and Check Authentication Results This section analyzes the originating IP address and verifies the presence of essential email authentication headers. The Gmail - Original IP Found? node determines whether the extracted IP address is valid and non-empty. If valid, the workflow proceeds; otherwise, it triggers the Skip IP Check node to move on to the next steps. The Gmail - Query IP Quality Score API node evaluates the IP’s reputation, identifying associations with spam, fraud, or other malicious activities. The Gmail - Query IP API node enriches the analysis by providing additional details such as geographic location and organizational affiliation of the IP. Finally, the Gmail - Authentication-Results Header? node checks for the presence of the "Authentication-Results" header, which indicates SPF, DKIM, and DMARC checks performed by the receiving email server. If present, the header is further analyzed in subsequent sections.

The steps

  1. Gmail Trigger
  2. Gmail - Extract Received Headers
  3. Gmail - Extract Original From IP
  4. Gmail - Original IP Found?
  5. Gmail - Query IP Quality Score API
  6. Gmail - Query IP API
  7. Gmail - Authentication-Results Header?
  8. Gmail - Received-SPF Header?
  9. Gmail - Extract Authentication-Results Header
  10. Gmail - Extract Received-SPF Header
  11. Gmail - Determine Auth Values
  12. Gmail - Set SPF Value
  13. Gmail - No SPF Found
  14. Gmail - Format Output

33 steps in total.

Similar automations