Email Normalizer

Normalize email addresses to their canonical form. Strips plus tags, removes provider-specific dots, lowercases, trims whitespace, and resolves alias domains (e.g. googlemail.com β†’ gmail.com). Returns the normalized address, its parts, and a list of every change applied.

Get API Key

Overview

Use Cases

  • De-duplicate user accounts that share the same canonical mailbox
  • Store a consistent canonical address alongside the original
  • Detect plus-tag abuse during registration
  • Normalize emails before look-up queries or comparisons

Features

Lowercases the full address
Trims leading and trailing whitespace
Removes dots from Gmail local parts (te.st β†’ test)
Strips plus tags for supported providers (user+tag β†’ user)
Resolves alias domains to canonical form (googlemail.com β†’ gmail.com)
Returns a structured list of every change applied
Splits normalized address into local part and domain

API Endpoints

Normalize Email

Normalizes a single email address and returns the canonical form together with a breakdown of all transformations applied.

POST
https://api.requiems.xyz/v1/email/normalize

Parameters

Name Type Required Description
email string Required The email address to normalize. Must be a syntactically valid address.

Try it out

Live Demo
Request

The email address to normalize. Must be a syntactically valid address.

Response Fields

Field Type Description
original string The email address exactly as supplied in the request body
normalized string The canonical form of the address after all transformations
local string The local part (before @) of the normalized address
domain string The domain part (after @) of the normalized address
changes array Ordered list of transformations applied. Possible values: lowercased, trimmed_whitespace, removed_dots, removed_plus_tag, canonicalised_domain. Empty array when no changes were needed.

Code Examples

curl -X POST https://api.requiems.xyz/v1/email/normalize \
  -H "requiems-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"email": "[email protected]"}'

Error Responses

validation_failed

The email field is missing or not a valid email address format.

bad_request

The request body is missing, not valid JSON, or contains unknown fields.

internal_error

Unexpected server error.

Frequently Asked Questions