Changed the resend email api endpoint