with open("app/emails/frontend/emails.html", "r") as f:
    content = f.read()

target = '                <button class="btn btn-outline-primary" onclick="openWorkflowManager()" title="Workflow Management">\n                    <i class="bi bi-diagram-3"></i>\n                </button>'
replacement = target + '                <button class="btn btn-outline-info rounded-circle px-2 ms-2" onclick="openManualHelp(\'Mail\')" title="Hjælp til Mail">\n                    <i class="bi bi-question-lg"></i>\n                </button>'

content = content.replace(target, replacement)

with open("app/emails/frontend/emails.html", "w") as f:
    f.write(content)
