# Adding customized data to e-mails

Sent e-mails can be fully customized using our [JavaScript API](https://help.pickzen.com/developers/customization-guide/api):

```
Extension.setGlobalValue(id, value);
```

For example, you could send the current date adding this code that will be executed just before the pickzen is completed:&#x20;

![](https://1947171238-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LrTaL6FQB3RzlkCwQfN%2F-MJBiYCig3SUNGscwQAy%2F-MJBkG5kNsUSbEXmhSYA%2Fimage.png?alt=media\&token=b5f9922d-8a7d-48ad-ae75-5ad1e6cd9171)

In this example, the parameter **current\_date** will be available in the email template using **%current\_date%**

![](https://1947171238-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LrTaL6FQB3RzlkCwQfN%2F-MJBiYCig3SUNGscwQAy%2F-MJBkzYPPlD64GDMGVlr%2Fimage.png?alt=media\&token=d5de7004-f5dd-4b5b-a6fa-cb1130a95a54)

Being the received email:

![](https://1947171238-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LrTaL6FQB3RzlkCwQfN%2F-MJBiYCig3SUNGscwQAy%2F-MJBlLl5exogREc3HW7u%2Fimage.png?alt=media\&token=03334215-2526-45c8-b8db-0aa4cbbe7b4a)
