Omit deleted and archived emails from all views except for trash in all environments
Request
When a user searches through a filtered list, through a custom query, through a label, or even from the main inbox and deletes emails, the deleted and archived emails remain in the users view.
Please do not display deleted or archived emails in the inbox, or in the view from a custom search, or from clicking on a label that has all the emails.
This functionality works this way in Desktop, but the mobile app experience is different. If you delete or archive an email in the mobile app, it stays in your view.
Use Case (What should happen)
1. Start a search that will return a set of emails
2. Delete or archive an email from that search query
3. The email should be removed from that view and sent to the trash
Acceptance Criteria
User should only see deleted emails when they navigate to the trash folder or explicitly search for the label trash. Once an email is deleted from any other place it should disappear from their view.