# Format an email and edit its HTML

Style your email with the toolbar and the slash menu, add links, images and tables, edit the HTML source, and drop in designed HTML that arrives exactly as built.

Source: https://support.rework.com/article/format-an-email-and-edit-html

A well-laid-out email gets read. Rework writes your formatting into the email's HTML element by element, so it survives the trip to Gmail or Outlook instead of depending on Rework's own styles. The same toolbar appears when you write templates and signatures. Here's how Daniel builds a rollout plan for Maya Chen, with a timeline table and Northwind's designed header.

## Step 1: Learn the toolbar

The top row holds the everyday tools **(1)**. Click **More options** (**⋯**) **(2)** at its end to open a second row with the rest **(3)**, and **Fewer options** to close it. Hover any button to see its name.

| Row | Buttons (tooltips) |
| --- | --- |
| Top | **Undo**, **Redo** · **Paragraph style** (**Paragraph**, **Heading 1**, **Heading 2**, **Heading 3**) · **Bold**, **Italic**, **Underline**, **Text color** · **Bullet list**, **Numbered list** · **Link (Ctrl+K)**, **Image**, **Variables** · **More options** |
| Second | **Font family**, **Font size** · **Strikethrough**, **Highlight color**, **Emoji** · **Align left**, **Align center**, **Align right**, **Align justify**, **Clear formatting** · **Outdent**, **Indent** · **Table**, **Code block**, **HTML block**, **Blockquote**, **Source code**, **Insert date/time** |

A few details worth knowing:

- **Font family** offers **System Font** (the reader's own default), **Arial**, **Georgia**, **Times New Roman**, **Courier New** and **Verdana**. **Font size** runs from _10px_ to _30px_.
- **Indent** and **Outdent** work on list items.
- **Clear formatting** strips bold, colours, fonts and links from the selection, and turns headings, lists and quotes back into plain paragraphs.
- **Emoji** opens a small grid of 20 common emoji.
- **Insert date/time** types the current date and time as plain text, in your browser's format. It doesn't update later.
- **Variables** inserts placeholders such as the recipient's first name. See [Email templates and variables](https://support.rework.com/article/email-templates-and-variables).

![The composer toolbar with the second row opened by More options](https://storage.googleapis.com/reworkv3-public/success/261009/VepX65Z2kTRJcUR9H0gS3ZROM6k85oduMs0mtGVDygDHnkz7ZY2ygfLLdQ6yLFIY/img.3sNqvheQZ2VbGLTPYDKawxq4Gn7QAEr6RYMyo6y7jfWLj96vg02nwOCa9xcm1Hx5.png)

## Step 2: Use the slash menu

Type **/** at the start of a line or after a space. A menu opens with **Heading 1**, **Heading 2**, **Bullet list**, **Numbered list**, **Link**, **Table**, **Code block**, **HTML block**, **Blockquote** and **Divider**.

- Keep typing to filter it, for example _/tab_ for **Table**.
- Use the arrow keys and **Enter** (or **Tab**) to pick, or click an item. **Esc** closes the menu.

**Divider** draws a horizontal line, and it lives only in this menu.

## Step 3: Add links

1. Select the words to link and click **Link (Ctrl+K)** **(1)**, or press **Ctrl+K** (**Cmd+K** on a Mac).
2. Check **Text** **(2)**, type the address in **Link** **(3)** and click **Apply** **(4)**.

You don't need to type _https://_: _northwindstudios.com_ becomes a web link, and an email address becomes a link that opens a new email. An address Rework can't use shows _Enter a web address, email address or phone number._ Web addresses you type in the body turn into links on their own, and pasting an address over selected words links those words.

Click inside a link to see its address with **Open link**, **Copy link**, **Edit link** and **Remove link**.

![The link form opened from Link (Ctrl+K), with the Text and Link fields and Apply](https://storage.googleapis.com/reworkv3-public/success/261009/SDQaeKSnecrU27rj7qByNfYiYuoMlo8ai8kGycEbyf5hCzrfyMTyOACZl1BZhzR8/img.BVuc9C2o9erImENTydkdcH425ooRO4VQlp6q18J7Yfna6pguLlF1HJaKOUXUlIiB.png)

## Step 4: Add images and tables

**Images**: click **Image** and pick a PNG, JPG, GIF or WebP file. You can also paste or drag an image file (a screenshot, for example) straight into the body, where it reads _Uploading…_ until it lands. Click an image to select it, then drag its corner handle to resize it, or use the small button at its top left to switch between left, center and right. Images never grow wider than the reader's screen.

**Tables**: click **Table** and move across the grid to pick a size, up to 8 × 8. The label shows columns × rows, and the first row is a header row. **/** **Table** inserts a 3 × 3 table instead. Click in any cell to get the table bar:

| Button | What it does |
| --- | --- |
| **Add column left** / **Add column right** | Adds a column beside the current cell. |
| **Delete column** | Removes the current column. |
| **Add row above** / **Add row below** | Adds a row beside the current cell. |
| **Delete row** / **Delete table** | Removes the row, or the whole table. |

Drag a column border to change its width. A table fills the width of the email.

When you paste from another email or a document, Rework keeps text colours and backgrounds, and uploads images embedded in the pasted content so they show for the recipient.

## Step 5: Edit the HTML source

Click **Source code** to see the HTML of the whole email. Edit it, then click **Save** (or press **Ctrl+Enter**). The composer shows the result straight away, and one **Undo** puts the email back.

- The **Source code** window has no preview: check the result in the composer itself.
- The composer keeps only what it can display. Layout tables, buttons and styles from a designed email lose their shape here. Put those in an HTML block instead.
- Closing with unsaved changes asks _Some data is not yet saved. Are you sure you want to leave?_

## Step 6: Insert designed HTML as an HTML block

An **HTML block** keeps HTML as you wrote it, such as a newsletter header or a designed button, and sends it that way. Only unsafe parts are taken out: scripts and form fields are always removed.

1. Click **HTML block** in the second toolbar row, or type **/** and pick **HTML block**.
2. In **Insert HTML block**, paste your code into the **HTML** pane **(1)**. The **Preview** pane **(2)** shows it as the recipient gets it, after the same clean-up every sent email goes through.
3. Switch the preview between the **Desktop** (600 px) and **Mobile** (375 px) icons **(3)**. **Hide preview** folds the pane away and **Show preview** brings it back.
4. To personalise it, click **Insert variable** **(4)**. Variables are written as _{{recipient\_1\_first\_name}}_. A name Rework doesn't recognise shows _Unknown variables:_ and the name.
5. Click **Insert block** **(5)**.

Images embedded inside the code are uploaded when you insert. SVG images aren't supported: use PNG or JPG.

In the composer the block shows as designed, under a small **HTML block** label, but you can't type inside it. Click it to select it, then use **Edit HTML** (or double-click it, or press **Enter**) to reopen the code, or **Delete block** to remove it.

![The Insert HTML block window with the HTML pane, the Preview pane, the Desktop, Mobile and Hide preview icons, Insert variable and Insert block](https://storage.googleapis.com/reworkv3-public/success/261009/rsiWGlvn5CWbBX2WhTAUUQ3XWUFSxNS2sEjtY18p10iWMzP1xUWjIgWdROZJOXSt/img.XkbaEXhkKVkezH7rZR7EA39FlCVjmAzzBzIOZarbGSptgElDv9vUtm9rq6czjvvp.png)

> **Note:** **Source code** and **HTML block** do different jobs. Use **Source code** for small fixes to normal text. Use an **HTML block** for anything designed elsewhere that must arrive exactly as built.

## Good habits

- **Check the phone view.** Many of your customers read on a phone. Preview HTML blocks at **Mobile** width, and keep tables to a few columns so each one stays readable on a narrow screen.
- **Keep it light.** Past 102 KB of HTML, Gmail cuts the email short and hides the rest behind _View entire message_. The HTML windows warn you. Over 512 KB, an email can't be sent at all.
- **Clean up pasted text.** Text pasted from documents brings its own fonts and colours. Select it and click **Clear formatting** for a consistent look.
- **Use PNG or JPG images.** They show in every mail app. 💡

## What to do next

Personalise what you've formatted: see [Email templates and variables](https://support.rework.com/article/email-templates-and-variables). To finish every email the same way, see [Email signatures](https://support.rework.com/article/email-signatures).
