[FIX] mail: batch_size expects an integer