See invenio-notifications config. Notifications seem to be configured but emails are not sent. We probably need to configure a real SMTP server.
See invenio-mail which wraps flask-mail.
Sending an email in invenio shell does not work. We get an AsyncResult and messages in the logs, but no email ever arrives.
from invenio_mail.tasks import send_email
message_data = {
'sender': 'archives@cca.edu',
'recipients': ['ephetteplace@cca.edu'],
'subject': 'Greetings!',
'body': 'Sent from invenio shell.',
}
send_email.delay(data=message_data)
# <AsyncResult: 3f592586-2b72-4da1-abca-20ac04f7fdd0>