end of flask mega part xi, email not working