Reformat configuration object for email api init method