top of page

Fixing Email Masking: A Simple Change That Made Testing Work

Protecting sensitive data is the first step for meeting compliance guidelines. Clear rulebooks on redacting social security numbers, names, or financial records, but no redlines on how much the final quality assurance script can look like the production version. This blog sheds light on just that.

Instead of preserving an email’s distinct characteristics, our masking policy replaced all entries with a single placeholder, abc@xyz.com. While auditors checked the right boxes, the result was catastrophic: user level tests ground to a halt, logins were pure guesswork, flow scripts were incomplete and the QA team ground to a halt.

A single, strategic tweak: preserving part of the email at the domain level restored just enough uniqueness for our applications to behave realistically. In the sections that follow, we’ll detail the exact steps we took within Informatica Cloud and the rationale that made the adjustment worthwhile.

Author

Cloudaeon's Chief Architect, Raj is an alumni of NTT Data and has 20+ years experience in delivering enterprise transformation projects in Cloud, Data & AI.
Raj
Manoharan

Cloudaeon's Chief Architect, Raj is an alumni of NTT Data and has 20+ years experience in delivering enterprise transformation projects in Cloud, Data & AI.

Connect with 
Raj
Manoharan

Get a free recap to share with colleagues

Ready to shape the future of your business?

What is Lorem Ipsum?

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.

Rectangle 4636

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.

Masked data isn’t just a compliance checkbox, it drives development, testing and analytics. When uniqueness disappears, downstream processes fail. By refining our email masking to be both secure and functional, the data remained compliant, QA cycles finished two days faster with fewer defects and production style behaviour finally showed up in step tests. In short, we regained testing time, strengthened release confidence and achieved it all without new licences or any network changes.


Step by Step Walkthrough


Cloudaeon introduced a new masking rule in Informatica Cloud, targeting the AZURE_LOGIN field across multiple tables.


The goal was to make masked outputs usable for testing while leaving existing ingestion and transformation pipelines untouched.


The legacy approach forced every email into abc@xyz.com, which broke QA workflows, polluted downstream datasets with repetitive values and failed format validation in dependent systems. To fix this, we implemented a lightweight, two step enhancement without altering any workflow paths:


Substitution rule: Replace the email’s local part with a synthetic, distinctive token.

Source: rajiv.k@xyz.comsimon@xyz.com


Domain rule: Append a fixed, consistent suffix.

Source: simon@xyz.comsimon@testdomain.com


This preserved standard email structure, enforced deterministic uniqueness and ensured no original values were exposed.


Key considerations:

Null and invalid emails were intentionally left untouched to avoid false flagging. Cross table consistency was non negotiable, each source email had to map to the same masked output everywhere. And the entire redesign had to operate within existing business rules to prevent hidden dependencies or operational surprises.


Results


  • Each masked record now carries a distinct, realistic email.


  • QA teams can run login and user behaviour scenarios without workarounds.


  • Downstream systems required no adjustments, as existing tools and flows continued operating exactly as before.


Conclusion


By moving from a fixed dummy email to a two rule masking strategy, Cloudaeon transformed a compliance only setup into a testing friendly environment. The key lesson was that consistency matters more than randomness and masking just has to reliably usable. Localised changes protected downstream systems, kept pipelines stable and delivered immediate improvements without extra engineering effort. For teams still relying on a single placeholder email, tools like Informatica Cloud make it easy to implement this adjustment within existing workflows and significantly improve QA fidelity.

Don’t forgot to download or share with your colleagues and help your organisation navigate these trends.

Mask group.png
Smarter data, smarter decisions.
bottom of page