Issue:
feat(email): Send `auth_id` in email URLs

Currently links in the emails point to public dashboard. For SSO tenants/orgs, they should point to different url, which has `auth_id`.

Resolution:
<think>
PR Context:
- Title: feat(email): Add `auth_id` in email types and send `auth_id` in email URLs
- Merged: 2024-06-26T10:03:35Z
- Files changed: 13 files
- Commits: 7 commits

Implementation approach:
## Type of Change
<!-- Put an `x` in the boxes that apply -->

- [ ] Bugfix
- [x] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD

## Description
<!-- Describe your changes in detail -->
This PR will introduce `auth_id` field in email types and also email APIs.

When an email is triggered from a API which gets `auth_id`, then that will be used to construct the email URL as well.

### Additional Changes

- [x] This PR mod
</think>

To implement this, you'll need to modify:


**Detailed Implementation:**


**Commit 1:** feat(email): Add `auth_id` in email types and send `auth_id` in email URLs (#5120)
Co-authored-by: h
Files to modify:


**crates/api_models/src/user.rs**
  Add:
    - struct: pub::AuthIdQueryParam

**crates/external_services/src/email.rs**
  Modify existing code

**crates/router/src/configs/settings.rs**
  Modify existing code

**crates/router/src/core/user.rs**
  Modify existing code

**crates/router/src/routes/user.rs**
  Modify existing code

**crates/router/src/services/email/types.rs**
  Modify existing code