Remove emails from an account via API #74
eduardojonck
started this conversation in
General
Replies: 1 comment
-
|
Hello, There is auto-expunge but it only works on the Junk and Trash folders. In order to delete messages from other folders you'll need to create a script that uses either JMAP or IMAP. Probably JMAP would be easier as you can do it in a single HTTP POST request. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Good afternoon,
I need to clean my email inbox from time to time because they are application accounts. The email server will not be used for users, but for applications. So I want to clean all emails, for example, and leave the last 30 days. Is there a way to do this using the existing API or does it have to be done with an email client via CLI? Any other ideas?
Beta Was this translation helpful? Give feedback.
All reactions