Add following dependency to your pom.xml
in order to use this library.
<dependency>
<groupId>com.github.wasiqb.coteafs</groupId>
<artifactId>mail</artifactId>
<version>1.0.0</version>
</dependency>
Following is an example of mail setting file,
src/test/resources/mail-config.yaml
folder: INBOX
protocol: imaps
host: imap.gmail.com
port: 993
user_id: ${user}
passcode: ${pass}