[email alerts] send file as attach after uploading