This plugin extend the sendEmail() with the option to remove attachment files (if any) after the mail is successfully delivered.