Hi,
We have experience with JavaMail, we can use it for send a file. Tell us a bit more about your project requirements, i can talk with you more about our last project in where we had developed a program for made a optimal quantity of groups, here we introduce a part for send the results vía mail.
Regards,
Enderson.