Default to HTTPS in API in email URLs