What you will build in Workshop II
In Workshop II (9, 16 and 23 November), you will build an AI assistant for a real mailbox.
- The mailbox: 3,244 real mails of Vince Kaminski. He was head of research at Enron in 2001.
- Where the mails live: in a new Gmail account, only for the course. We call it your test Gmail account.
- What the AI assistant does: it reads new mail, sorts it, and drafts answers in Kaminski’s words. It sends nothing without your OK.
Your goal for 9 November
At the end of the first morning, this works on your laptop:
- You will write a mail from your SKKU mail account to your test Gmail account.
- Your AI assistant will sort the mail and draft Kaminski’s answer.
- You will read the draft and say OK.
- The answer will arrive in your SKKU inbox.
- Your SKKU accountyou write to your test Gmail account
- Your test Gmail accountthe mail arrives
- n8npicks it up, checks it
- Langflow: Triagedecides: reply
- Langflow: Draft Replywrites in Kaminski's words, checks it
- n8nchecks the rules, asks you
- Yousay OK
- Your SKKU inboxthe answer arrives, from your test Gmail account
So you work with two mail accounts: your SKKU mail account, which you already have, and a new test Gmail account, which you make in step 2.
Two ideas you know from Yanbo's workshop
- Decomposition. Your AI assistant is not one big AI that does everything. The job is cut into small steps, and each step has one task: n8n picks up the mail, Triage only sorts it, Draft Reply only writes the answer, n8n checks the rules, and you decide. Small steps are easy to test and to fix. On 9 November you will test Triage on its own first.
- Guardrails. Every step is checked before the next one acts. n8n looks at each new mail first: it hides personal
numbers, and a mail that tries to trick your AI assistant goes to you instead. Langflow checks its own answer: in
step 8 you will see
"checks_ok": true. And nothing leaves without your OK.
This homework: three parts, and one optional
The homework gets your laptop ready for 9 November. It has three parts, and one optional:
| Part | Steps | What you do |
|---|---|---|
| A | 1–7 | Set up your test mailbox: update kingo-pod, make the account, copy Kaminski’s mails into it |
| B | 8 | Test Langflow: load the course flows, let Triage sort a mail |
| C | 9–13 | Set up n8n and test it: logins, mail search, a test mail from your SKKU account |
| Optional | 14 | Look into the database: see Kaminski’s mails and your test mail as rows, in CloudBeaver |
Gmailyour test Gmail accountPart A · steps 1–7
Mailkingo-pod's service: copies the mails, masks addressesPart A · steps 1–7
PostgreSQLevery mail as a rowPart A · steps 1–7
n8ndoes the workPart C · steps 9–13
Langflowthinks: sorts and draftsPart B · step 8
Part A · steps 1–7
Part C · steps 9–13
Part B · step 8
Before you start
- Time: 1 to 2 hours. Some of it is waiting while things load. You can do this with breaks or in chunks.
- Deadline: Sunday, 8 November, the day before Workshop II.
- Want help? Finish by Friday, 6 November. Then there is still time to fix problems together.
- Stuck? Write to Frank right away. Then we fix it together.
- You need:
- your kingo-pod;
- the OpenRouter key Yanbo gave you;
- the file
ws2_hw.zipfrom https://huettner.io/abp/ws2/ws2_hw.zip. You download it in step 8.