Issue #3446166: Pop the account quota in a local var to avoid a new lookup for each mail, when sending a batch.
Closes #3446166