Blockweft
Workflows

html email template creation workflow

03
Email layout

Fix a broken email layout

Your email looks squished on mobile devices. The agent reads the file, adjusts the table width, and adds media queries to make it responsive.

01

Open folder

Start the agent and point it to your project folder.

02

Find file

Ask the agent to list the directory and find the template.

03

Edit layout

Request a fix for the mobile view using CSS media queries.

04

Check result

Review the diff and verify the layout on your phone.

Example template code

post-template.html
<!DOCTYPE html>
<html lang=en>
<body>
  <article>
    <h1>{{post_title}}</h1>
    <time>{{date}}</time>
    <img alt="cover" src="cover.jpg">
    <p>{{body}}</p>
  </article>
</body>
</html>

This small HTML blog post template uses an article element, a heading, a byline with a time element, a cover image with alt text and {{placeholder}} fields, helping you resolve any problem with a child theme.

Build a responsive email template

Analyze structure

The agent reads your existing markup and identifies why the layout breaks on small screens, so it suggests using tables for rendering in older email clients. You see the diff. Review the suggested modifications carefully to ensure they match your brand guidelines. Ask first mode pauses before applying these changes, allowing you to verify the logic. Once you approve, the agent writes the updated code to your working folder. You can then open the file in your browser to test the responsive behavior. Many users ask why their blog posts are not showing on their blog page after a theme update. This process keeps your html email template accessible and visually consistent across devices.

Apply media queries

The agent adds media queries to handle different screen sizes and adjusts the main container width to fit mobile devices while keeping the desktop view intact. You review the diff. The agent adds rules for images so they scale correctly without breaking the layout. You can use web search to verify current best practices for email CSS. The agent then updates the file and shows you the exact lines that changed. You review the diff to confirm that the responsive email template meets your needs. If you prefer, you can use Plan only to see the strategy before any files are modified. Are blogs still worth it for portfolio sites when static pages are so simple?

Blockweft for Windows

Start building your templates

Download Blockweft ↗