- Configure your username and password in the application.yml file
-username: write your personal or company gmail address
-password: make your gmail account two-factor secure and enter it here by creating an application password.
- Enable IMAP access in the settings section of the gmail address you will enter.