Adding in methods to handle the email endpoints