encode emails before hitting up srv