diff --git a/src/khoj/routers/email.py b/src/khoj/routers/email.py index 1569eed5..6a5e8bc5 100644 --- a/src/khoj/routers/email.py +++ b/src/khoj/routers/email.py @@ -44,7 +44,7 @@ async def send_welcome_email(name, email): { "from": "team@khoj.dev", "to": email, - "subject": f"Welcome to Khoj, {name}!" if name else "Welcome to Khoj!", + "subject": f"{name}, four ways to use Khoj!" if name else "Four ways to use Khoj!", "html": html_content, } ) @@ -55,6 +55,8 @@ def send_task_email(name, email, query, result, subject): logger.debug("Email sending disabled") return + logger.info(f"Sending email to {email} for task {subject}") + template = env.get_template("task.html") html_result = markdown_it.MarkdownIt().render(result)