email fetching initial implementation