--- title: "Step 7: Specify external email for scan" slug: "step-7-specify-external-email-for-scan" tags: ["Integration", "Email Security - Cloud", "Customer", "Cloud Security"] updated: 2026-09-04T19:26:27Z published: 2026-09-04T19:26:27Z canonical: "docs.trellix.com/step-7-specify-external-email-for-scan" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Step 7: Specify external email for scan Follow the steps to setup the external email for scan: 1. Log in to the Google Admin Console: [https://admin.google.com/](https://admin.google.com/) as an admin user with permissions to configure apps, specifically Gmail. 2. Tag the non-internal emails so that they can be scanned by Email Security - Cloud. 3. Select **Apps** from the menu on the left. If you cannot see the option, recheck the permissions granted to you. 4. Select **Google Workspace**. If you cannot see the option, recheck the permissions granted to you. 5. In the main panel, scroll down to find and select **Compliance**. This will show the full set of compliance sections in the main panel. 6. In the **Content Compliance** section, click **Configure**. A pop-up form will appear. 7. Enter a name for the rule (example: Add External Header). Select the **Inbound** checkbox. 8. From the **'Add expressions that describe the content you want to search for in each message'** drop-down menu, select **If ALL of the following match the message**. 9. Click the **Add** button. The Add Setting pop-up window will appear. 10. Set the match type to **Metadata match**. For attribute, select **Source IP**. 11. For Match type, select **Source IP is not within the following range**. Add similar rules for the following ranges of the respective region. ``` USA 34.223.36.0/24 3.93.93.0/24 EMEA 3.123.5.0/24 63.34.218.0/24 APJ 3.112.99.0/24 3.112.100.0/24 USGOV 15.200.32.0/24 APPROX 3.97.207.0/24 3.97.208.0/24 ``` 12. Scroll down and select **If the above expressions match, do the following**. 13. Select **Add custom headers**. Click the blue **Add** button that appears. 14. Enter **X-ETP-Source** as the header key. Enter **External** as the header value. 15. Click **Save** to add the header. Click **Save** to add the content compliance setting. 16. To allowlist the IP addresses, return to the **Settings** for Gmail page. 17. In **Advanced Settings > Email allow list**, enter the IP addresses for your region (listed above). Separate IP addresses with a comma. Click Save.