Extract emails, fix configs