add MAILS_PER_BATCH variable