Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to filter forwarded email in Gmail

📅 2016-Jan-11 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ filter, forward, gmail ⬩ 📚 Archive

Problem

You might be forwarding some emails from another account, say joe@foo.com to your Gmail. How to filter such emails, for example, to archive them?

Solution

Go to Settings -> Filters and Blocked Addresses -> Create a new filter. In the Has the words field, add deliveredto:joe@foo.com and choose what you want to do with such filtered emails. This solution worked for my setup.