← All projects
LLM & automation · 2026

persona

A personal AI newsletter you manage just by chatting with it: tell it what you care about and when, and every hour it searches the web, writes your newsletter in your preferred tone and emails it, while keeping your data encrypted and refusing attempts to hijack it.

n8nMistralTavilySMTP
Team
Solo
Context
Epitech project, 2nd year
Status
Done
Chatbot workflow: injection checks, session routing, guest and member agents
1 / 3Chatbot workflow: injection checks, session routing, guest and member agents

Context

The service has no web interface at all: everything, from sign-up to account deletion, happens in a conversation with AI agents. That made security and privacy the core of the design, since every message is untrusted input.

What was built

  • A prompt-injection filter in front of the chat: an LLM guardrail plus a pattern score, before any agent sees the message
  • Two agents, one for guests (sign up, log in) and one for signed-in users (topics, delivery hour, tier, account deletion), each action being a workflow the agent calls as a tool
  • Sign-up with a 6-digit code sent by email, valid 5 minutes and checked with a signed token, so the code is never stored
  • User data encrypted at rest, with the email also stored as a keyed hash so users can be found without decrypting anything, and GDPR deletion from the chat
  • An hourly newsletter: web search on each user's topics, written by Mistral in HTML and sent by email, with a free tier and a premium tier (deeper search, larger model, custom tone and format)