The User Email block displays the email address of a user in your email templates. This is useful for displaying recipient information, contact details, and user account information.
Adding a User Email Block
- While editing your email template, click theย “+”ย button to add a new block
- Search forย “User Email”ย or find it in theย “User”ย category
- Click to insert the block
Label Settings
The User Email block includes comprehensive label customization options to control how the label is displayed.
Display Label
Toggle to show or hide the “User Email” label. When enabled, the label appears above or alongside the email address.
Display Label Separator
Toggle to show or hide the separator between the label and email address (e.g., the colon in “User Email: user@example.com”).
Custom Label
Override the default “User Email” label with custom text. This is useful when:
- You want a shorter or different label (e.g., “Email”, “Contact Email”)
- You need to customize the label for your brand voice
- You want to use a different language
Default: “User Email”
Label Separator
The text that appears between the label and email address. Default is : (colon and space).
Examples:
:ย – User Email: user@example.com-ย – User Email – user@example.com
Inline Label
Controls whether the label and email address appear on the same line (inline) or stacked vertically.
- Off (Stacked): Label appears above the email address
- On (Inline): Label and email address appear side by side
Bold Label
Makes the label text bold for emphasis.
Label Size
Set a custom font size for the label (supports px, em, rem units).
Label Width
When “Inline Label” is enabled, you can set a fixed width for the label column. This helps align multiple user information blocks.
- Supports px and % units
- Useful for creating aligned lists of user information
Text Alignment
Use the alignment controls in the block toolbar to align the text:
- Left (default)
- Center
- Right
Styling Options
The User Email block supports standard block styling options:
- Colors: Background color, text color, heading color (for labels)
- Typography: Font size, font family, font weight, line height, letter spacing, text transform, text decoration
- Spacing: Padding
- Borders: Border radius, border color, border width, border style
Access these options in the block settings panel under the respective sections.
Examples
Example 1: Simple Email Display
Goal: Display email address with default label
- Display Label: On
- Label Separator:ย
: - Inline Label: Off (Stacked)
- Result: Email address displayed with “User Email:” label above it
Example 2: Contact Information
Goal: Display email in a contact information section
- Display Label: On
- Custom Label: “Email”
- Inline Label: On
- Label Width:ย
80px - Result:ย
Email: user@example.comย (aligned layout)
Example 3: Minimal Display
Goal: Display just the email address
- Display Label: Off
- Text Alignment: Left
- Result: Just the email address displayed
Best Practices
- Use Custom Labels: Customize labels to match your brand voice and email context
- Consistent Formatting: Use the same label width across multiple user information blocks for alignment
- Privacy Considerations: Be mindful of displaying email addresses in emails (recipient already knows their own email)
- Mobile Considerations: Consider using stacked labels on mobile for better readability
Troubleshooting
Email Address Not Showing
- Verify that the email template is being used in a context with user data
- Check that user email information is available in the email context
- Ensure the integration (e.g., WordPress, Gravity Forms) is properly configured
Label Not Displaying
- Check that “Display Label” is enabled in the block settings
- Verify the custom label field is not empty if you’re using a custom label
Additional resources
Use the links below for more information and guidance on adding blocks. Keep in mind that these articles are general information related to the WordPress Editor and building with blocks. Email Customizer does not utilize all blocks or functionality due to the limited capabilities of emails.
WordPress Editor