made email configs work with urlencoded values