> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.patronum.io/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Setting to email routing to a Google Group when offboarding

Within Google Workspace it is common to set up email routing to forward emails to another address or group when a user is removed. As part of a Patronum offboarding policy this can be achieved by the following steps:-

1. Within the **SETTINGS** tab of the policy expand the Security section.

![Security Section within Patronum Policy](https://storage.crisp.chat/users/helpdesk/website/661f215e36c4a800/image_1o9tcgo.png)

2. Configure the User Renaming section.

![Rename User](https://storage.crisp.chat/users/helpdesk/website/661f215e36c4a800/image_1rj051o.png)

| Using the {{username}} variable will take the leavers primary email address. You can then include identifiers such as "ex" or "leaver" before or after the variable.

3. Assign a Google Group as the email routing method.

![Assign Google Group as email routing address.](https://storage.crisp.chat/users/helpdesk/website/661f215e36c4a800/image_813h52.png)

| You may select either an existing Google Group, or dynamically create a new Google Group based on the users original email address.

4. Add a Group Owner, such as the users {{manager}} or another Google Workspace account.

5. If required configure an email label and filter within the Group owners Gmail so that emails to the group are automatically labelled.

6. Advanced options are also available via the Cog Icon.

![Advanced Google Group settings.](https://storage.crisp.chat/users/helpdesk/website/661f215e36c4a800/image_qjsxzv.png)

||| Make sure that the Google Group is able to receive emails from external sources by enabling "Publish posts" within the **Roles and permissions** section. You may also want to hide the group from the Google Directory.