send emails in batch