This is a screen recording of the steps used to code the email retrieval process. Please watch the previous video on how to create App password. I have used a dummy Gmail account. It will work with other email servers as long as you provide the right credentials.