single_secret auth now works as plugin, added send_email function to server