Send confirmation email only if allowed by config