AI Email Composer: Student Lab Guide
This guide walks students through building an AI Email Composer to generate clear, professional emails. Find the full lab answers here: View Full Lab Answers
Part1
How to Access AIX Workspace
Step A
Create your account
Step B
Get your credentials from email
Step C
Log in to n8n
Part2
Build the Email Dictation Model
In this workflow, you will build an email assistant in n8n. Describe the email you want to send in natural language, including the recipient, main message, and preferred tone. The AI Agent uses the chat model to draft the subject and message, while Postgres Chat Memory keeps track of your conversation.
Your workflow at a glance
Chat Trigger
AI Agent
Chat Model
Postgres Memory
Gmail – Send a message
-
1
Step 1Create a new workflow in n8n
-
2
Step 2Add the chat trigger
-
3
Step 3Add the AI Agent
-
4
Step 4Set the Chat ModelOpenAI → qwen3-8-27b
-
5
Step 5Set the MemoryPostgres Chat Memory
-
6
Step 6Add the email toolGmail — Send a message in Gmail
-
7
Step 7Test the workflow
What your finished workflow looks like in n8n