Documentation Index
Fetch the complete documentation index at: https://mintlify.com/emmanueljarquin-sys/GrupoMecsaCMS/llms.txt
Use this file to discover all available pages before exploring further.
Getting Started
The Email Builder provides a drag-and-drop interface for creating professional email templates. Access it from Emails > Nueva plantilla in the CMS.Builder Interface
The builder is divided into three main sections:Left Sidebar - Configuration & Blocks
Configuration Panel- Template name
- Status (Draft/Published)
- Theme colors (Primary, Secondary, Text, Titles)
- Structure blocks (1/2/3 columns)
- Content blocks (Title, Text, Image, Button, etc.)
- Elements (Separator, Social media)
Center Canvas - Workspace
The main design area where you build your email by dragging blocks from the palette.Top Actions Bar
- Vista previa - Preview your email in a modal
- Ver HTML - View and copy the generated HTML code
- Guardar - Save your template to the database
Creating an Email Template
Configure Template Settings
In the left sidebar, enter:
- Template name - Give your email a descriptive name
- Status - Choose Draft or Published
- Theme colors - Set your brand colors
Add Row Structure
Click or drag a row layout from the ESTRUCTURA section:
- 1 Columna - Full-width content
- 2 Columnas - Side-by-side layout
- 3 Columnas - Three-column grid
You can change the column layout of any row later using the row controls.
Add Content Blocks
Click or drag content blocks from CONTENIDO into your columns:
- Drag blocks directly onto specific columns
- Click blocks to add them to the first available column
Customize Content
Edit each block by clicking on it:
- Text blocks - Edit content inline with rich text editor
- Images - Upload from Supabase storage or provide URL
- Buttons - Set button text and link URL
- Custom blocks - Configure variables via settings icon
Arrange and Style
Use the block controls to refine your layout:
- Drag the grip icon to reorder blocks within columns
- Use alignment buttons (left/center/right/justify)
- Delete unwanted blocks with the trash icon
Preview Your Email
Click Vista previa to see how your email will look:
- Opens in a modal window
- Shows the full rendered HTML
- Test responsiveness and styling
Drag & Drop Functionality
Adding Rows
Rows define the structure of your email layout:- Click method - Click a row block in the palette to add it to the canvas
- Drag method - Drag a row block and drop it onto the canvas
- Empty state - When the canvas is empty, a helper message guides you
Adding Content to Columns
Content blocks can be added in two ways: Direct drag to columnReordering Blocks
Blocks can be reordered within columns using drag handles:- Hover over a block to reveal the drag handle (6 dots icon)
- Click and drag the handle to move the block
- Drop it in the desired position
- The model updates automatically
Configuration Options
Row Configuration
Each row has controls in its header:- Layout buttons - Change between 1, 2, or 3 columns
- Delete button - Remove the entire row and its contents
- Drag handle - Reorder rows by dragging the grip icon
Block Configuration
Most blocks have these common controls: Alignment- Left, Center, Right, Justify buttons at the bottom of each block
- Title/Text
- Image
- List
- Custom
- Inline editing with contenteditable
- Alignment buttons
- Font size selector (16-32px)
- FontAwesome icon picker
- Color inherited from theme
Exporting to HTML
The Email Builder generates production-ready HTML that can be used in MailChimp, Gmail, or any email platform:Generated HTML Structure
The HTML follows email best practices:- Fixed 600px width for optimal rendering
- Table-based layout for email client compatibility
- All styles are inline
- Color tokens (primary/secondary) are replaced with actual hex values
Keyboard Shortcuts
Currently, the Email Builder does not support keyboard shortcuts. All actions are performed through clicking and dragging.Tips for Best Results
- Keep it simple - Email clients have limited CSS support; avoid complex layouts
- Test everywhere - Preview in multiple email clients before sending
- Use web-safe fonts - Stick to Arial, Helvetica, Georgia, Times New Roman
- Optimize images - Keep image file sizes small for faster loading
- Mobile-first - Design with mobile viewing in mind
- Alt text - Always provide alt text for images
- Clear CTAs - Make buttons prominent and action-oriented
Troubleshooting
Empty canvas won’t accept blocks- Refresh the page and try again
- Check browser console for JavaScript errors
- Verify all image URLs are publicly accessible
- Check that color values are valid hex codes
- Ensure template name is filled in
- Check that you have a valid session (not logged out)
- Verify network connection to Supabase
- Ensure SortableJS library is loaded (check browser console)
- Try refreshing the page
- Use click method as alternative