# Gmail Search Operators for Mail to Drive

> Target exactly the right messages with Gmail search syntax in Mail to Drive, using from, subject, has:attachment, filename, label, and date operators.

- Source: https://www.8apps.co/docs/mail-to-drive/power-user-tip/finding-emails
- Markdown: https://www.8apps.co/docs/mail-to-drive/power-user-tip/finding-emails.md
- Language: en

---
# Advanced Gmail Search

Mail to Drive supports advanced Gmail search syntax for filtering emails.

## Common Search Operators

- `from:support@example.com`
- `subject:Invoice has:attachment`
- `after:2024/01/01 before:2024/04/01`
- `label:Finance`
- `filename:pdf`

## Tips

- Combine multiple filters for precise targeting.
- Use Gmail's native search box first to test queries before setting inside Mail to Drive.

Using advanced search queries increases the accuracy of your automated downloads.
