How to find hidden forwarding and inbox rules
UPDATED DECEMBER 1, 2026
When someone breaks into a mailbox, one of the first things they do is add a rule: forward a copy of everything to an outside address, or quietly move any email that mentions invoices or payments out of sight. Checking takes five minutes and needs no technical knowledge.
What a malicious rule looks like
- Forwarding to an address outside your company, often a free email account or a domain you don't recognize.
- Deleting, archiving or marking as read any message containing words like invoice, payment, bank, wire or remittance.
- Moving mail into a folder nobody opens, such as RSS Feeds, Archive or Conversation History, or a new folder with a one-character name.
- A rule with a meaningless name, such as a single dot or a few random letters.
- Mail from your accountant, a key supplier or your own finance team being redirected or deleted.
Outlook and Microsoft 365
- 1.In Outlook on the web or the new Outlook for Windows, open Settings (the gear icon), then Mail, then Rules. Read every rule, including any you don't remember creating.
- 2.In the same settings, open Mail, then Forwarding. It should be off unless you set it up on purpose.
- 3.In classic Outlook for Windows, go to File, then Manage Rules & Alerts.
- 4.If you administer the company's Microsoft 365, you can list every mailbox's rules, including hidden ones, with Exchange Online PowerShell (Get-InboxRule -IncludeHidden), and check forwarding in the Exchange admin center.
Gmail and Google Workspace
- 1.In Gmail on a computer, click the gear icon, then See all settings.
- 2.Open Filters and Blocked Addresses. Look at what each filter does: Forward it, Delete it, Skip the Inbox or Mark as read on finance words is a red flag.
- 3.Open Forwarding and POP/IMAP. If a forwarding address is listed that you didn't add, remove it.
- 4.Open Accounts and Import and check Grant access to your account: remove anyone you don't recognize.
- 5.A Google Workspace administrator can also stop automatic forwarding for everyone from the Admin console's Gmail settings.
IMAP and hosted email
On hosted mailboxes (web hosting, an internet provider or a regional email service), server-side rules live with the provider, not in your mail app. Sign in to the provider's webmail and look for Filters, Rules or Forwarders; in cPanel they're under Email Filters and Forwarders. Rules set up in Thunderbird or Apple Mail run only on that computer, so check them there too.
If you find one
- 1.Take a screenshot of the rule, then delete it.
- 2.Change the mailbox password and sign out every other session; Microsoft and Google both offer this in the account's security settings.
- 3.Turn on two-step verification if it isn't on already.
- 4.Review the apps connected to the account and remove any you don't recognize: a malicious app can keep access after a password change.
- 5.Search for messages sent from the mailbox that you didn't write, and warn anyone who received them.
- 6.If invoices or payments were involved, follow the steps for a changed bank detail.
How Envelock helps
For Microsoft 365 and Google Workspace mailboxes, Envelock reads the rules and forwarding through Microsoft's and Google's own APIs every time it checks for mail. As soon as a rule appears that forwards mail outside your company or hides finance-related mail, it raises a critical alert (on the Complete plan). It only reads these settings and never changes them. See how it works or start a trial.
Check a suspicious email now
Paste it into the free detection lab, or connect your inbox and let Envelock check every message as it arrives.