pipeline {
agent any
stages {
stage('mail') {
steps {
emailext body: '${message}', subject: 'Test', to: 'tomasz.zietkiewicz@amu.edu.pl'
}