In the api is a reference to the properties for the specific sun protocol providers.

  • IMAP
  • POP3
  • SMTP

These are also set on the session object but you use them on your own risk since in other mail implementations they are maybe not supported or they change in the future.