Developer
=========

Build
-----

In order to build script or stylesheet run:

Install npm packages:

```
npm install
```

Manually build:

```
grunt build
```

Watch for file changes:

```
grunt watch
```

> Note: While development you should set the `forceCopy` publish option of the mail asset bundles to true.


REST API
--------

The Mail module also has integration to the [REST API](https://www.humhub.com/en/marketplace/rest/).

The [documentation](https://www.humhub.com/en/marketplace/mail/docs/swagger/mail.html) as HTML can be found here.

You can also find Swagger (OpenAPI 3.0.0) documentation files in the `/docs/swagger` directory of this module.