fix email is sent when normal confirmation icon clicked