+
Interview Prep
Interview questions, roadmaps and practice sets
Tutorials
Free tutorials on 30+ topics
Blog
Career guides, skills and interview tips
Free PDFs
Notes, cheat sheets and question banks
Certificates
Free skill tests and course certificates
Tools & Whiteboard
Free tools you can use right in the browser
Practice Tests
Mock tests, MCQs and quick Q&A
Free LMS
Learn on the Uncodemy LMS
Choose the best training program according to your career.
Improve the performance of your business with our innovative Industrial Training Program.
Read More →
Our instructor-led training classes are designed to make you an expert.
Read More →
Real-life case studies are a great way to demonstrate your practical knowledge.
Read More →
Explore blogs, latest technologies and industry updates with practical examples.
Read More →Browse all available training programs and choose the right one for your career.
Read More →Know more about who we are and what we stand for.
Discover our mission to equip individuals with essential IT skills and industry expertise.
Read More →
Free tutorials, interview questions, tools and calculators to help you learn.
Explore →Learn, practice and plan your career — bilkul free.
Book a free video counselling session and pick the right course for you.
Read More →Use your data to decide who gets which message, merge tags for each person's details, and an AI tool to draft one version per segment. A person checks each version before it is sent.
This guide walks through the workflow with a sample segmentation script, a reusable prompt, a worked email and the mistakes to avoid.

Here is the practical answer: let your data decide who gets which message, let merge fields insert the details that are unique to each person, and use an AI writing tool to draft a version of the email for each segment. Then a person checks every version before it goes out. AI is very good at drafting variants quickly. It is not a substitute for clean data or for a human check.
Below is a workflow you can run with any email platform that supports segments and merge tags (Mailchimp, Brevo, Klaviyo, HubSpot, Zoho Campaigns and others) plus a general AI assistant such as ChatGPT, Gemini or Claude.
| Level | What changes | Who does the work |
|---|---|---|
| 1. Merge fields | Name, city, last product viewed, plan renewal date | The email platform, from your contact data |
| 2. Segment versions | Subject, opening, offer and call to action for each group | AI drafts, marketer edits |
| 3. Dynamic blocks | Whole sections shown or hidden by rules (for example, a block only for people who abandoned a cart) | The platform's conditional content feature |
Most of the value comes from levels 1 and 2. Writing a fully unique email for every individual with a language model is possible through an API, but it is harder to review, and a single wrong "fact" about a customer does more damage than a generic line.
Personalisation can only be as good as the fields you hold. For a typical Indian edtech or D2C business, the useful fields are usually:
Collect this only with consent. India's Digital Personal Data Protection Act, 2023 requires a clear purpose and consent for processing personal data, and every marketing email should carry a working unsubscribe link. Do not paste full customer lists into a public AI chat; give the AI segment descriptions, not personal records.
Start with three to five segments. A recency rule is easy to explain and to test. This short Python example shows the logic on a sample list:
import csv, io
data = """name,city,last_course_viewed,days_since_visit
Riya,Noida,Data Analytics,3
Arjun,Pune,Python,21
Meera,Kochi,Data Analytics,45
"""
def segment(row):
d = int(row["days_since_visit"])
if d <= 7:
return "warm"
if d <= 30:
return "cooling"
return "lapsed"
for row in csv.DictReader(io.StringIO(data)):
print(row["name"], "->", segment(row), "|", row["last_course_viewed"])
Output:
Riya -> warm | Data Analytics
Arjun -> cooling | Python
Meera -> lapsed | Data Analytics
In practice you would build the same rules inside the email platform's segment editor. The point is that each segment needs a clear reason to exist: a different situation that calls for a different message.
Give the AI the facts it is allowed to use and the tone. A prompt that works well:
You are writing a marketing email for an online training company.
Product: a Data Analytics course (Excel, SQL, Power BI, Python).
Facts you may use: live online batches, weekend option, free demo class.
Do NOT invent prices, discounts, dates, statistics or testimonials.
Write 3 versions, each with a subject line (max 50 characters),
a preview text (max 90 characters) and a body of 90-120 words:
1. warm: viewed the course page in the last 7 days
2. cooling: viewed 8-30 days ago
3. lapsed: no visit in 30+ days
Use the merge tag *|FNAME|* for the first name and
*|COURSE|* for the course they viewed.
Tone: plain, helpful, no hype, Indian English.
The merge tag syntax differs by platform (Mailchimp uses *|FNAME|*, many others use {{ first_name }}), so tell the AI the exact syntax your tool expects.
Run this checklist on each draft:
Split each segment so a small share gets version A of the subject line and the same share gets version B, then send the better one to the rest. Judge by clicks and replies rather than opens, because Apple's Mail Privacy Protection (introduced in 2021) can mark emails as opened without a person reading them. Our companion piece on using AI tools to improve email results goes into testing, send times and deliverability.
A lapsed contact named Meera viewed the Data Analytics page six weeks ago. Her email might read:
Subject: Still thinking about data analytics, Meera?
Preview: A free demo class shows you what a week of the course looks like.
Hi Meera,
A few weeks ago you looked at our Data Analytics course. If timing was
the problem, weekend batches run live online, so you can learn alongside
college or work. The quickest way to decide is to attend a free demo
class and see a real SQL and Power BI session.
[Book a demo class]
Not interested any more? You can unsubscribe in one click below.
Everything in it comes from her record (name, course viewed) and the approved facts. Nothing is invented about her or about results she might get.
For writing one-to-one outreach rather than campaigns, see how to write cold outreach emails with AI. To automate the sending side, read automating emails with AI, and for the privacy trade-off in more depth, balancing privacy and personalisation.