a line of code that prevents a user from deleting mail if there are unreceived attachments still within it.