aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/actions/email.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions/email.rs')
-rw-r--r--src/actions/email.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/actions/email.rs b/src/actions/email.rs
index 272f650..a8627c5 100644
--- a/src/actions/email.rs
+++ b/src/actions/email.rs
@@ -104,6 +104,10 @@ impl<'a> EmailAction<'a> {
#[async_trait]
impl Action<'_> for EmailAction<'_> {
+ fn name(&self) -> &'static str {
+ "email"
+ }
+
async fn run(&self, params: Option<&MessageParams<'_, '_>>) -> Result<()> {
let body = self.message_config.body(params)?;
let html_body = match self.message_config.format() {