How to Write Cold Outreach Emails with GitHub Copilot
GitHub Copilot, GitHub's AI assistant, is not limited to code generation. With its chat feature integrated into VS Code, it can help you write compelling and personalized cold outreach emails. By leveraging its text generation capabilities, you can create professional email sequences, adapt your tone to different prospect segments, and quickly iterate on your messages. This tutorial guides you step by step to transform GitHub Copilot into a real business writing tool, from the initial brief to optimizing your subject lines, including personalization at scale. You'll discover how to structure your prompts to get convincing results and avoid the classic pitfalls of automated prospecting.
Prerequisites
- 1.Have an active GitHub Copilot subscription (Individual, Business, or Enterprise)
- 2.Have Visual Studio Code installed with the GitHub Copilot Chat extension
- 3.Know the basics of your business offer and your prospecting target
Steps
Define the context and target persona
Open the GitHub Copilot chat in VS Code (Ctrl+Shift+I) and start by providing detailed context to the AI. Describe your company, your value proposition, and the exact profile of the prospect you are targeting. The richer the context, the more relevant and personalized the generated email will be. Create a context.md file in your project to store this information and reference it in future conversations.
You are a B2B copywriting expert. I work for [COMPANY_NAME], we offer [OFFER_DESCRIPTION]. Our target: [JOB_TITLE] at companies in [INDUSTRY/SIZE]. The main pain point of our prospects is [PROBLEM]. Generate a prospecting brief that I can reuse to create my emails.
Generate the first cold outreach email
Ask Copilot to draft a first cold outreach email. The goal is to get a short message (under 150 words) with a catchy subject line, personalized opening, clear value proposition, and simple call to action. Request multiple variants for A/B testing.
Based on the brief above, write 3 variants of a cold outreach email. Each email should include: a subject line under 50 characters, a personalized opening in 1 sentence, the prospect's pain point, our solution in 1-2 sentences, and a CTA in the form of a question. Tone: professional but conversational. Maximum 120 words per email.
Create a 3-email follow-up sequence
A single email is never enough in prospecting. Ask Copilot to generate a complete follow-up sequence with different angles at each step. Each follow-up email should bring new value (case study, statistic, free content) rather than just nudging. Specify the desired spacing between each send.
Create a sequence of 3 follow-up emails after the initial cold email. Follow-up email 1 (D+3): social proof angle with a client result with numbers. Follow-up email 2 (D+7): value content angle, offer a free resource. Follow-up email 3 (D+14): break-up angle, last message with a touch of humor. Keep the same tone and stay under 100 words per email.
Personalize emails for different segments
Use Copilot to adapt your sequence to different prospect segments. Provide the specifics of each segment (industry, company size, digital maturity) and ask the AI to adjust the vocabulary, examples, and pain points accordingly. This allows you to scale your prospecting while maintaining a high level of personalization.
Adapt the initial cold email for these 3 different segments: 1) Marketing directors at SaaS startups (20-50 employees), 2) Sales managers at industrial SMEs (100-500 employees), 3) CEOs of consulting firms (5-20 employees). For each segment, adjust: the main pain point, industry vocabulary, client result example, and CTA.
Optimize subject lines and open rate
The subject line is the number one factor for open rate. Ask Copilot to generate many subject line variants using different copywriting techniques (curiosity, numbers, personalization, question). Then ask it to evaluate each subject line according to specific criteria to select the best candidates to test.
Generate 10 alternative email subject lines for my cold email using these techniques: 2 with a number/statistic, 2 as a question, 2 with the prospect's first name, 2 creating curiosity, 2 mentioning a direct benefit. Then rank them from most to least effective, justifying your choice with a score of 1 to 10 on: curiosity, clarity, and relevance.
Common mistakes to avoid
- ✗Providing too vague a context to Copilot, which generates generic emails without any personalization or relevance to the targeted prospect
- ✗Using the generated emails as-is without proofreading or adapting them, resulting in an artificial tone and phrasing that doesn't match your brand voice
- ✗Writing emails that are too long: in cold outreach, going over 150 words drastically reduces your response rate
- ✗Forgetting to ask Copilot for multiple variants and settling for the first suggestion without iterating or testing different approaches
- ✗Not including a clear and single CTA in each email, leaving the prospect with no concrete action to take
FAQ
Is GitHub Copilot really suitable for writing cold outreach emails?
How can I prevent my AI-generated emails from being flagged as spam?
How many email variants should I generate before launching a campaign?
Related tutorials
How to use this prompt
- Copy the prompt with the button above.
- Paste it into ChatGPT, Claude or your favorite AI assistant.
- Replace the bracketed variables with your details, then refine the result.
About Prompt Guide
Prompt Guide is a free library of 2500+ ready-to-use prompts for ChatGPT, Claude and other AIs, with guides to learn prompting and tools to build and optimize your own prompts.
More tutorials
How to Write LinkedIn Posts with ChatGPT
LinkedIn has become the essential social network for boosting professional visibility, generating leads, and establishing expertise. Yet, writing engaging and regular posts remains a challenge for many professionals. ChatGPT can transform your approach by helping you structure your ideas, find the right tone, and produce impactful posts in minutes. In this tutorial, you will learn step by step how to use ChatGPT to create LinkedIn posts that capture attention, generate engagement, and strengthen your personal brand. Whether you are an entrepreneur, freelancer, or employee, these techniques will allow you to publish consistently without spending hours in front of your screen.
How to Write LinkedIn Posts with Claude
LinkedIn has become the essential platform for developing professional visibility and generating business opportunities. Yet, writing engaging posts that capture attention in a saturated news feed remains a challenge for many professionals. Claude, Anthropic's AI assistant, can radically transform your LinkedIn content creation process. With its advanced writing capabilities, Claude helps you structure your ideas, find the right tone, and produce posts that generate reactions. In this tutorial, you will learn step by step how to use Claude to create impactful, authentic LinkedIn posts tailored to your audience, while keeping your personal voice.
How to Write LinkedIn Posts with DALL-E
DALL-E, the AI image generator developed by OpenAI, can radically transform your content strategy on LinkedIn. By creating unique and impactful visuals to accompany your posts, you capture attention in a saturated feed. This tutorial guides you step by step to leverage DALL-E in designing original images that illustrate your LinkedIn posts, strengthen your personal branding, and significantly increase your engagement rate. Whether you are an entrepreneur, marketer, or content creator, you will learn to formulate effective prompts, adapt visuals to LinkedIn format, and integrate these creations into a coherent editorial strategy. Say goodbye to generic stock images: welcome custom illustrations that reflect your expertise.
How to Write LinkedIn Posts with Gemini
LinkedIn has become the essential platform for developing professional visibility and generating business opportunities. Yet, writing engaging and regular posts remains a challenge for many professionals. Gemini, Google's artificial intelligence, can transform your approach to LinkedIn content creation. With its advanced text generation capabilities, Gemini helps you structure your ideas, find the right tone, and produce posts that capture your audience's attention. In this tutorial, you'll learn how to use Gemini step by step to create impactful, authentic LinkedIn posts optimized for the algorithm. Whether you're an entrepreneur, freelancer, or employee seeking personal branding, this guide will give you a concrete and repeatable method.
How to Write LinkedIn Posts with GitHub Copilot
GitHub Copilot, GitHub's AI assistant, is not limited to code generation. With its natural language processing capabilities, it can help you write impactful LinkedIn posts directly from your code editor. Whether you're a developer, entrepreneur, or content creator, Copilot helps you structure your ideas, generate captivating hooks, and optimize your posts for maximum engagement. In this tutorial, you'll learn how to use GitHub Copilot Chat to create professional LinkedIn posts, from initial brainstorming to final publication. You'll discover how to formulate effective prompts, iterate on drafts, and adapt the tone to your target audience.
How to Write LinkedIn Posts with Midjourney
Midjourney is an AI image generation tool that can radically transform your LinkedIn posts. By creating unique visuals, you catch attention in a news feed saturated with generic content. This tutorial guides you step by step to use Midjourney to produce professional images that accompany your LinkedIn publications, strengthen your personal branding, and significantly increase your engagement rate. Whether you are an entrepreneur, marketer, or content creator, you will learn how to formulate effective prompts, choose the right visual styles, and integrate these creations into a coherent and high-performing LinkedIn content strategy.
Get new prompts every week
Join our newsletter.