Adding app_config and app_config init for smtp - was a manual init before