Send confirmation email only if allowed by config

:beer: