intercept emails in all environments except production

[fixes #61784466]