# Email template variables

> STEP 2-2

Email templates come with variables. Use them to generate email content that matches each template.

Every variable can be used in any notification template, but some variables cannot be applied if the data is not yet available when the notification is sent.

※Some variables do not work inside arrays. When using variables inside an array, refer to the "Variables available inside" column in [Array variables](#array-variables).

## Variables

| Property | Description | Example |
| --- | --- | --- |
| `Recustomer CSS` | The CSS defined by Recustomer Removing it is not recommended (the email layout breaks if you do) | |
| `mail_title` | The subject of the email | 配送中です |
| `customer_full_name` | The shopper's full name | 佐藤 太郎 |
| `brand_name` | The brand name from the customization screen | テストブランドストア |
| `brand_logo` | The brand logo from the customization screen | https://test-store.com |
| `tracking_number` | The tracking number | |
| `delivery_company` | The carrier | 佐川急便 |
| `product_image` | The product image | https://test-image.png |
| `product_name` | The product name | テスト商品 |
| `product_quantity` | The product quantity | 3 |
| `currency_symbol` | The currency symbol used at purchase | $, ￥, € |
| `product_price` | The product price | 10,000 |
| `formatted_price` | The product price formatted with its currency symbol | $10.00, ￥1,000 |
| `variant_name` | The name of the variant option on the product | サイズ |
| `variant_value` | The value of the variant option on the product | Mサイズ |
| `redelivery_url` | The URL of the redelivery request page | |
| `shipping_full_name` | The name registered on the shipping address | 佐藤 太郎 |

## Array variables

Information that can have several entries, such as items, is passed as an array per delivery status. The variables you can use inside an array differ per array.

| Property | Description | Variables available inside |
| --- | --- | --- |
| `info_received_line_items[]` | An array holding the items whose shipment has been accepted by the carrier | `product_image` `product_name` `product_quantity` `product_price` `variant_options[]` |
| `in_transit_line_items[]` | An array holding the items in transit | `product_image` `product_name` `product_quantity` `product_price` `variant_options[]` |
| `available_for_pickup_line_items[]` | An array holding the items available for pickup | `product_image` `product_name` `product_quantity` `product_price` `variant_options[]` |
| `delivered_line_items[]` | An array holding the delivered items | `product_image` `product_name` `product_quantity` `product_price` `variant_options[]` |
| `attempt_fail_line_items[]` | An array holding the items returned to the depot because the shopper was away | `product_image` `product_name` `product_quantity` `product_price` `variant_options[]` |
| `attempt_fail_remind_line_items[]` | An array holding the items in a redelivery reminder | `product_image` `product_name` `product_quantity` `product_price` `variant_options[]` |
| `expired_line_items[]` | An array holding the items whose storage period has expired | `product_image` `product_name` `product_quantity` `product_price` `variant_options[]` |
| `variant_options[]` | An array holding the variant options of the product | `variant_name` `variant_value` |
