Postman and local mailserver/client

Hello. Is it possible to receive data from an email from the local machine? Previously I used Gmail API, but according to security policy now I can’t use external API, only local server and client (pop3 supported). But I have no idea how to take code from the email in such a case. Maybe somebody faced with the same problem?

Have you looked into other providers that have an API, such as mailgun.com?