[31e88f42] Keine neuen Commits in dieser Session.

Keine neuen Commits in dieser Session.
This commit is contained in:
2026-03-09 08:46:33 +00:00
parent de576e2a9a
commit 21b9d518fc
5 changed files with 27 additions and 24 deletions

View File

@@ -310,9 +310,12 @@ def process_lead(request_id, company, opener, receiver, name):
except:
sig = ""
# Format the opener text into proper HTML paragraphs
opener_html = "".join([f"<p>{line}</p>" for line in opener.split('\n') if line.strip()])
email_body = f"""
<p>Hallo {name},</p>
{opener}
{opener_html}
<p>Ich freue mich auf den Austausch und schlage Ihnen hierfür konkrete Termine vor:</p>
<ul>
{booking_html}