Implement GET request to access json of emails