Lost Attachments and "Could not instantiate mail function"