Skip to Main Content
Status Backlog
Categories Developer Platform
Created by Guest
Created on Apr 27, 2023

Differentiate Trash and Spam statuses when using API (both are "deleted")

Trash emails are email that us (humans) deleted, but the Spam emails are emails that were deleted automatically in Gmail (in our case) and, when brought to Front, were automatically moved to Spam. However that spam classification does not always work correctly, so we want to try automations with classification models of our own alongside Front API to check if spam emails are really spam.
In order to do that, it would be great to be able to identify, through the Status (or any other way), if the email is Trash or Spam, because today both of them receive the status "deleted" and event type "trash", which is not ideal in this situation.
Thank you!

  • Attach files