----------------
Requirement is to write a scheduler and remove the attachments on daily basis from archived emails which are linked to cases (specific status).
----------------
I was thinking to delete the note record based on email id, will it remove the attachment as well on cloud instance?
Please anyone share if there is any cloud compatible code to achieve this as a best practice and remove the attachments gracefully without deleting the email.
Thanks.