Update API to use (char *) for email addresses and hostnames