read a mail and its content in java mail api

Java
put something
Source

Also in Java: