gog-html-email_skill

This skill helps you send beautifully formatted HTML emails via gog CLI using ready-to-use templates and safe placeholder replacement.
  • Python

2.5k

GitHub Stars

2

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill openclaw/skills --skill gog-html-email

  • _meta.json281 B
  • SKILL.md13.3 KB

Overview

This skill provides ready-to-use HTML email templates and a simple sed-based workflow to send styled emails via the gog CLI. It streamlines creating professional, celebratory, and event-specific emails while preserving email-client compatibility. Use the templates to avoid manually composing HTML and ensure consistent layout and inline CSS.

How this skill works

Templates live in the templates/ directory as single-line HTML with bracketed placeholders like [NAME] and [MESSAGE]. Read a template, replace placeholders with sed commands (or create a custom variant), then send with gog gmail send --body-html. Templates use inline CSS and a 600px max width to maximize cross-client rendering.

When to use it

  • Sending professional messages, meeting invites, invoices, or project updates
  • Delivering newsletters, announcements, or call-to-action emails with buttons
  • Sending holiday, religious, or celebration greetings (Eid, Jummah, birthdays)
  • Creating multi-paragraph or long-form email content without manual HTML crafting
  • Customizing colors, fonts, or layout while preserving tested structure

Best practices

  • Always read templates from workspace/skills/gog-html-email/templates and replace placeholders via sed; do not hand-build HTML strings
  • Keep templates single-line and use inline CSS for broad email client support
  • Test emails by sending to yourself and viewing in Gmail, Outlook, and Apple Mail before wide distribution
  • Replace every [PLACEHOLDER] to avoid sending template tokens to recipients
  • For multi-paragraph content, inject separate <p> tags for each paragraph to preserve spacing

Example use cases

  • Quick project check-in using basic.html and replacing [NAME], [MESSAGE], [SIGNATURE]
  • Schedule a meeting with meeting.html by supplying TOPIC, DATE, TIME, DURATION, LOCATION, and SIGNATURE
  • Send a newsletter using newsletter.html with section titles and contents replaced via sed
  • Deliver a payment notice using invoice.html with INVOICE_NUMBER, AMOUNT, DUE_DATE, and PAYMENT_URL
  • Create a celebration email (birthday, anniversary, Eid) by selecting the occasion template and replacing NAME, MESSAGE, and SIGNATURE

FAQ

Yes. Use sed to replace color hex codes or font-size rules in the template, then save as a new template file if you want to reuse the variant.

How do I include multiple paragraphs?

Replace the [MESSAGE] placeholder with multiple <p style="margin: 0 0 16px 0;">...</p> blocks. Do not put multiple paragraphs inside a single <p> tag or include literal \n characters.

What if a template has unused placeholders?

Ensure you replace all placeholders before sending. For optional fields, replace with an empty string to avoid showing tokens to recipients.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational
gog-html-email skill by openclaw/skills | VeilStrat