Reduced memory consumption for emailer task.

[#66380498]