Implemented privileged send_email function.