Added Java utility to send emails in batch.