send mail and delete all data from redis