Bug 851511 - Debug another error with automatic emails.
Merge pull request #1143 from AdrianGaudebert/stage

Bug 851511 - Debug another error with automatic emails.