add server side handling of attachments while sending email
attachments are taken from the files app