adds ajax functionality to sending session key email feature