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