Can send e-mail but the message is undefined

Kris, why are you using the node-red-contrib-email-out node? It hasn't been updated since May of 2017.

What is wrong with node-red-node-email?

Also, in order to make code more readable and importable it is important to surround your code with three backticks
```
like this
```

You can edit and correct your post by clicking the pencil icon.

See this post for more details - How to share code or flow json