adding endpoints for email links