Add java mail export support.