Status zadania - mail

What can I do to get information about the status of the task to my email address? (concerns the Eagle cluster)
To receive an email, please add to the script:

#SBATCH --mail-type=<type>

where <type> can take a value: BEGIN, END, FAIL, REQUEUE, ALL, TIME_LIMIT, ARRAY_TASKS

BEGIN - beginning of the job
END - completion of the job
FAIL - the job has failed
REQUEUE - the job stopped counting and was back on the line.
ALL - all the above statuses
TIME_LIMIT - the jobcounts 50,80,90 procent of the declared time
ARRAY_TASKS - Send an email about each job type array

The above values can be used together, for example

#SBATCH --mail-type=BEGIN,FAIL

By default, information about the status of tasks is sent to the email address associated with the account. To send information to a different address, specify it in the form below:

#SBATCH --mail-user=address_email

Please make sure the address is correct.