I am created an add-on that user can report the mail , when it found that this is the scam mail, but when user clicks on the report button in the add-on , ideally opened mail delete from the inbox and user move their inbox , but mail is deleting but UI is not updating until i manually do the refresh
I am trying to redirect the user to their inbox after mail is delete , but when mail is deleted nothing happens in the background mail is delete but UI is not updated , i also want to update the UI so user confirms that the mail is reported and delete from their inbox
shayan amar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.