# Normalize Contact Email to Lowercase

**Type:** Apex trigger · **Difficulty:** Easy · **Object:** Contact · **Topics:** Contact, Before Insert, Before Update, Field Assignment

Practice this problem interactively (write and run your Apex trigger against realistic data): https://www.forcechallenges.com/problems/normalize-contact-email-to-lowercase

## Problem

Whenever a Contact is created or updated, save the Email address in lowercase. If Email is blank, leave it blank. This helps keep email values consistent.

## Constraints

Process every record in the batch. Do not put queries or DML inside loops.

---
Source: ForceChallenges · last updated 2026-10-13
