Gmail takes search terms; Outlook takes a filter or a search, and refuses both in one request. A script that listed mail had to know which. This release gives it one set of criteria and lets the provider adapters argue with their APIs.
The criteria
- One vocabulary From, to, copy, blind copy, subject, body, read state, attachments, flag, received dates, size, page size and token, written as search terms on Gmail and as a filter or a search on Outlook. A combination Outlook cannot serve in one request fails with a message naming both groups.
- Groups Nested all-of, any-of and none-of groups, with set algebra, across both providers.
The message
- Draft, trash, spam A message says which it is without the script knowing the provider: labels on Gmail, a flag and the parent folder on Outlook, looked up once per mailbox.
- Blind copies The sender's own copy exposes its blind recipients; a received message returns none.
- Named where it belongs The Outlook mail classes resolve under their own namespace beside the calendar, and the old names keep working.
One breaking change is recorded: a misspelt option was renamed, and an Outlook address filter became a search.