[fix bug 879759] Mail functionality for the swag/budget automation.