send mail after upload