Replace api jar with class jar for javax.mail