added feature for resend mail