https://javaee.github.io/javamail/OAuth2
Properties props = new Properties(); props.put("mail.imap.ssl.enable", "true"); // required for Gmail