Per https://matomo.org/docs/setup-auto-archiving/#linux-unix-how-to-set-up-a-crontab-to-automatically-archive-the-reports when
MAILTO environment variable is set before running
core:archive it is supposed to send an email if archive fails. Have verified mail settings are set correctly as other emails from Matomo are working.
core:archive is failing and the emails are not being sent.
export MAILTO='me<a class='mention' href='https://github.com/domain'>@domain</a>.com' && console core:archive --url=https://matomo.domain.com
Just to verify: does your crontab look like there and mailto is on its own line?
MAILTO is a crontab feature, not a Matomo feature so I don't think using export and running it on command line like above would work unfortunately.
Interesting. I thought it was Matomo feature. I'm using https://docs.pivotal.io/scheduler/1-2/index.html for scheduling which must not support this feature. Looks like it wouldn't work for windows either.