envelope-md

Open-source agent skill · mail merge

Turn an address list into printed envelopes, one per guest.

Give your coding agent a guest list. It writes the file, checks every address, and prints each envelope at true size, with the return address, the stamp box and the recipient where the post office wants it.

npx github:isatimur/envelope-md render guests.json

A wedding envelope in the calligraphy theme: a script name, a gold double frame and a sprig, with a return address and a stamp box. An envelope in the kraft theme, addressed to Japan: typewriter type on brown paper with a wavy postmark. A holiday envelope in the festive theme: a candy-stripe border, holly and a red italic name.
  • True size. DL, C5, C6, US #10, A7 and A2. The page is the envelope.
  • Where the post office wants it. The address sits right of centre, clear of the stamp and the barcode zone.
  • Labels and an RSVP list. Same list, three outputs: envelopes, label sheets and a reply tracker.
  • Five countries. UK, US, German, French and Japanese address order. Honest limits below.

Ask your agent

“Print envelopes for my wedding guest list. Calligraphy, A7, my address top left.”
  1. Hand over the list

    Paste names and addresses, or point at a CSV from your spreadsheet. The agent asks only for what is missing.

  2. Check and pick

    It checks every address, warns about odd postcodes, and shows your first envelope in each theme so you can choose.

  3. Print

    You get one HTML file with one page per guest. Print it at 100% on your envelopes, or save a PDF.

Five themes

Each theme has its own type, layout and decoration. Every picture here is real engine output. Open one to see the whole list.

Calligraphy theme on an A7 envelope: script name, spaced capitals, gold frame, sprig.
calligraphyA flowing script name and a gold double frame. For weddings.
Minimal theme on a DL envelope: a clean sans address with a blue rule, crop marks in the corners.
minimalA clean grotesque, one blue accent and crop marks. Shown with German address order.
Festive theme on an A2 envelope: candy-stripe border, holly, snowflakes and a red italic name.
festiveCandy stripes, holly and a soft serif. For holiday cards.
Kraft theme on a C6 envelope: typewriter type, stitched border and a rubber postmark on brown paper.
kraftTypewriter ink on brown paper, with a stitched border. Japanese order shown.
Corporate theme on a US #10 envelope: navy monogram, serif name, teal rule.
corporateA navy monogram and a ruled address lane. For mailings.

The same list, two more ways

Label sheets for a stack of invitations. A reply tracker for the fridge door.

An A4 sheet of 3 by 7 address labels in the calligraphy theme, ten filled and eleven empty.
Labels. 3×7 on A4, 3×10 on Letter and two more layouts. Skip the labels you already used.
An RSVP tracker page: a ruled list of guests with yes and no tick boxes and a total at the foot.
RSVP tracker. Tick boxes, seats and notes. The totals come from your list.

Address order, and where it stops

The engine orders the lines for five countries. It does not look addresses up. It will warn when a postcode looks wrong, and it will not fix it.

CountryOrder
UKName, street, TOWN in capitals, postcode on its own line.
USName, street, City, ST ZIP.
DEName, street, postcode then city.
FRName, street, postcode then CITY in capitals.
JPPostcode, place, building, name with 様. Horizontal only.

What it leaves out

  • A letter going abroad gets the country in capitals as the last line.
  • Any other country gets one plain order: street, postcode and city, country.
  • No vertical Japanese, no CEDEX, no state-name conversion, no address look-up.
  • Printers cannot reach the edge. Every mark stays 8 mm inside it.
  • Check the first print on plain paper held against an envelope.

Install

Claude Code plugin

/plugin marketplace add isatimur/envelope-md
/plugin install envelope-md@envelope-md

Any agent, via skills.sh

npx skills add isatimur/envelope-md

Command line

npx github:isatimur/envelope-md render guests.json --out envelopes.html

Node 20 or newer. Nothing else to install. PDF export needs Playwright, and is optional.

Examples

Five invented guest lists on example streets. Open the pages the engine wrote from them.