Managing quarantined messages and files