support both destination mails and dropboxes