First commit of retrieving emails