Normalize email
FreeLogic@rabbinatix/normalize-email by Rabbinatixupdated Sep 30, 2026
Trims spaces and lower-cases an email so lookups match.
Use it before looking a user up or storing an email, so Alex@Acme.dev and alex@acme.dev are the same account.
How to use it
Add it to your logic, then add a Call Function step in any logic and pick Normalize email. It belongs to no system, so every system can use it. Or download the TypeScript and call it from your own code.
Inputs
email: Text
Outputs
normalized: Text
Previewdrag the steps around; scroll to zoom
Function Entry, Input / output. 0 inputs, 2 outputs. step 1 of 4
Normalize email
email
Trim, String. 1 input, 1 output. step 2 of 4
Trim
text
result
To Lower Case, String. 1 input, 1 output. step 3 of 4
To Lower Case
text
result
Return, Input / output. 2 inputs, 0 outputs. step 4 of 4
Return
normalized
Arrow keys: next or previous step in flow order. Alt with arrows: nearest step in that direction. Enter: open. Shift F10: more actions.
Examplesrun live against the logic · 2/2 pass
| Passed | Example | Input | Output |
|---|---|---|---|
| Spaces and capitals | {"email":" Alex@Acme.DEV "} | {"normalized":"alex@acme.dev"} | |
| Already normal | {"email":"sam@acme.dev"} | {"normalized":"sam@acme.dev"} |
Try it
Versions
In this package
Normalize email (entry)
