feat: Implement AI classification and Web UI, refactor to IMAP

This commit is contained in:
hyungi
2025-12-29 15:50:35 +09:00
commit d3c9cd2c7f
13 changed files with 928 additions and 0 deletions

35
web/index.html Normal file
View File

@@ -0,0 +1,35 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AI Mail Manager - Rule Editor</title>
<link rel="stylesheet" href="/static/style.css">
</head>
<body>
<div class="container">
<header>
<h1>Mail Processing Rule Editor</h1>
<p>Edit the rules in JSON format below. Click 'Save Rules' to apply them.</p>
</header>
<main>
<div class="editor-container">
<textarea id="rules-editor" spellcheck="false"></textarea>
</div>
<div class="actions">
<button id="save-button">Save Rules</button>
<button id="run-button">Run Processing Now</button>
</div>
<div id="status-message"></div>
</main>
<footer>
<p>AI Mail Server</p>
</footer>
</div>
<script src="/static/script.js"></script>
</body>
</html>