# Migration Guide
URL: https://docs.valsight.ai/migration-guide/
Description: The whole configuration moves from the grails section into the spring section.
The mail configuration moved out of the `grails` section of *config.yml* and into the `spring` section. This page maps every changed property to its new location.

## Property mapping

| Old value                  | New value                                    | Notes                                                                                                                                        |
| -------------------------- | -------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| `grails.mail.*`            | `spring.mail.*`                              | The whole configuration moves from the `grails` section into the `spring` section.                                                           |
| `grails.mail.disabled`     | `spring.mail.valsightProperties.enabled`     | **Boolean reversal.** The property moved under `valsightProperties` and changed from `disabled` to `enabled`. It still defaults to disabled. |
| `grails.mail.default.from` | `spring.mail.valsightProperties.defaultFrom` | Property `from` moved and was renamed to `defaultFrom`.                                                                                      |
| `grails.mail.props`        | `spring.mail.properties`                     | Property `props` was renamed to `properties`.                                                                                                |

All other properties are the same, with the same behaviour.
