Send confirmation email only if allowed by config

:beer:
There should be a space after `if`.