finished require email and link email logic #61