finished email generation after checkout