Hi James Dev Team,

I wrote on the Gitter last Friday about wanting to create a function for 
deleting messages not collected from the server after 90 days. It was mentioned 
that this may be a job for a task.

I have written a task with a API that while delete all message within all 
mailboxes. This was achieved by editing the Merge Ghost mailbox function.

The goal is now to filter each method by the internalDate when greater than 90 
days. Would you have any advice on whether this is a good approach, and if yes, 
the best way to access the internalDate variable. The function currently use 
the composeMessageIDwithMetaData model in a similar fashion to the merge 
mailboxes task.

Regards,
Aaron


Reply via email to