download email functional