add test_email of flask