Email when Let´s Encrypt SSL certificate update failed

Sometimes Lets’ Encrypt SSL certificate update failes, I can see records in user logs, but I’d like to get emails. Is it possible to add e-mail notification upon SSL certificate update failures?

Tomorrow I’ll create a PR.

This is the PR:

Thanks, will wait for implementation!