Hey team - what is the replacement for the email t...
# ask-community
m
Hey team - what is the replacement for the email task in prefect 2?
Copy code
from prefect.tasks.notifications import EmailTask
1
j
The prefect-email library has
EmailServerCredentials
and
EmailServerCredentials, email_send_message
. See an example at the link below.
m
Great - thanks. I didn't know if that was recommended or not.
👍 1