# Google Workspace Allowlisting

### Allowlist Prventi email

1. [Sign into](https://workspace.google.com) your Google Workspace admin console
2. Navigate to Apps > Google Workspace > Gmail
3. Navigate to Spam, phishing and malware
4. Edit the Email allowlist and add the Prventi IP addresses below and Save

| IP Address     | Description     |
| -------------- | --------------- |
| 161.38.204.124 | Phishing server |

<figure><img src="https://2587798137-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxD7mHVJd8Cx98j1Vu8yh%2Fuploads%2FqUisLDLekirDFZaAARzI%2FScreenshot%202023-08-29%20at%2014.22.58.png?alt=media&#x26;token=89f03f75-09f1-4502-957e-122780b5d4c6" alt=""><figcaption></figcaption></figure>

### Add an inbound gateway

{% hint style="info" %}
After you allowlist an IP address, messages that come from that IP address won't be put in the spam label. However, users who receive email from that IP address are likely to still see a Gmail warning banner on those messages (for example, **This email looks suspicious**)

Adding the Prventi mail server as an inbound gateway can prevent the banner from showing.
{% endhint %}

1. Navigate to Spam, phishing and malware
2. Enable `Inbound gateway`
3. Add the IP address from the table above
4. Deselect `Automatically detect external IP (recommended)`
5. Deselect `Reject all mail not from gateway IPs`
6. Select `Require TLS for connections from the email gateways listed above`
7. Select `Message is considered spam if the following header regexp matches`
8. Enter `46020282079c7e95eea0805e43251e5d` as the regex value
9. Select `Message is spam if regexp matches`
10. Disable `Gmail spam evaluation on mail from this gateway; only use header value`

<figure><img src="https://2587798137-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxD7mHVJd8Cx98j1Vu8yh%2Fuploads%2FJF3jwMO3Ya7W2MggVZZG%2FScreenshot%202023-08-29%20at%2014.32.26.png?alt=media&#x26;token=9c99059a-b46f-4b59-9409-253e5fa7d143" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.prventi.com/guides/getting-started/allowlisting-prventi-email-servers/google-workspace-allowlisting.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
