Java mail experiment