P

GitHub Copilot Prompt for Writing Cold Emails

GitHub Copilot, the AI-powered coding assistant from GitHub, is not limited to code generation. Thanks to its advanced language understanding capabilities, it can become a powerful ally for writing impactful cold emails. By using Copilot Chat directly from your IDE, you can generate personalized emails structured according to best practices in sales copywriting, tailored to your target. Whether you are a developer prospecting for a freelance project, a tech startup founder seeking first clients, or a salesperson at a SaaS company, GitHub Copilot allows you to produce professional cold emails in seconds. The major advantage lies in direct integration into your workflow: no need to switch tools or context. You describe your target, value proposition, and desired tone, and Copilot generates a ready-to-send email. This approach saves you considerable time while maintaining a high level of quality and personalization, two essential factors for maximizing open and reply rates in B2B prospecting.

The prompt

GitHub Copilot

Write a B2B cold email for [COMPANY] selling [PRODUCT/SERVICE] targeting [TARGET_PERSONA - e.g., marketing directors at SaaS SMEs]. Context: the prospect doesn't know us, this is a first cold contact. Structure the email as follows: 1) Catchy subject line under 50 characters that arouses curiosity without being clickbait. 2) Personalized hook sentence showing I've researched the prospect (use placeholder [CUSTOM_ELEMENT]). 3) Identify a specific pain point in their industry. 4) Concisely present our solution in 2 sentences max, benefit-oriented not feature-oriented. 5) Brief social proof (a key figure or client reference). 6) Clear and low-commitment call-to-action (offer a 15-minute exchange). 7) Professional signature. Constraints: - Professional yet conversational tone, not corporate - Maximum 150 words for the email body - No superlatives or generic phrases like 'market leader' - Use formal 'vous' - Suggest 3 subject line variants to A/B test

Personalize this prompt with Léa

Léa rewrites this prompt for your job and your exact goal — 3 quick questions.

Why it works

This prompt is effective because it imposes a proven sales copywriting structure (hook, pain point, solution, proof, CTA) while setting precise constraints that prevent Copilot from generating generic content. The request for personalization via placeholders forces the user to adapt each email, which significantly increases response rates. Finally, the 150-word limit and the ban on superlatives ensure a concise and credible email.

Expected result

You will get a complete and structured cold email, ready to be personalized and sent, accompanied by 3 subject line variants for A/B testing. The email will follow best practices for B2B cold emailing: short, benefit-oriented, with social proof and a non-intrusive CTA. The tone will be natural and professional, avoiding robotic phrasing that hurts response rates.

Variants by level

FAQ

Is GitHub Copilot really suitable for writing cold emails?
Yes, GitHub Copilot Chat excels at generating structured text when given precise instructions. Although it is primarily designed for code, its underlying language model perfectly understands copywriting and business communication principles. The advantage is being able to stay in your IDE if you are a developer or tech founder, without switching to another tool. For optimal results, be very specific in your instructions regarding tone, length, and desired structure.
How can I effectively personalize emails generated by Copilot for each prospect?
The key is to use strategic placeholders in your prompt, such as [PROSPECT_NAME], [PROSPECT_COMPANY], [CUSTOM_ELEMENT], and [TRIGGER_EVENT]. Before sending, replace these placeholders with real information found on LinkedIn, the prospect's website, or recent articles. You can also ask Copilot to generate multiple versions by changing the industry or primary pain point. This semi-automated approach allows you to maintain a high level of personalization while saving time on structure and baseline writing.
What pitfalls should I avoid when using Copilot for email outreach?
First pitfall: sending the email as-is without proofreading or personalizing it. Copilot generates a solid base, but each email must be tailored to the specific prospect. Second pitfall: using too vague prompts like "write a cold email," which produces generic and ineffective content. Third pitfall: not iterating. If the first result doesn't suit you, refine your prompt by adding constraints or requesting specific modifications. Finally, always verify that factual information (numbers, client references) is accurate before sending, because Copilot can generate plausible but fictitious data.

Related prompts

How to use this prompt

  1. Copy the prompt with the button above.
  2. Paste it into ChatGPT, Claude or your favorite AI assistant.
  3. Replace the bracketed variables with your details, then refine the result.

About Prompt Guide

Prompt Guide is a free library of 4800+ 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 prompts to explore

GitHub Copilot Prompt for Writing Product Sheets

GitHub Copilot, the AI-powered coding assistant, proves to be a remarkably effective tool for writing professional product sheets directly from your code editor.

GitHub Copilot Prompt to Analyze a Contract

Contract analysis is a time-consuming task that requires careful attention to legal details. GitHub Copilot, with its natural language understanding capabilities, can assist you in quickly identifying key clauses, contractual obligations, and potential risk areas.

GitHub Copilot Prompt to Analyze a Financial Balance Sheet

GitHub Copilot, the AI-powered coding assistant, is not limited to code generation. With its data analysis and processing capabilities,

GitHub Copilot Prompt to Create a Business Plan

GitHub Copilot, the AI-powered programming assistant from GitHub, is not limited to code generation. With its advanced contextual understanding and structured text generation capabilities, it becomes a formidable ally for creating a complete and professional business plan. By leveraging the right prompts directly in your code editor, you can produce entire sections of your business plan: market analysis, business model, financial projections, and growth strategy. Copilot's major advantage lies in its ability to maintain consistency between different sections of your document, while adapting to the specific context of your entrepreneurial project. Whether you're a developer launching a tech startup or an entrepreneur looking to structure your vision, the prompts presented on this page will guide you to extract the maximum from GitHub Copilot in writing your business plan. Each variant is calibrated for a different level of expertise, from the beginner founder to the seasoned serial entrepreneur.

GitHub Copilot Prompt to Create a Knowledge Base

GitHub Copilot, the AI development assistant integrated into code editors, proves to be a powerful ally for creating structured and maintainable knowledge bases.

GitHub Copilot Prompt to Create a Logo

GitHub Copilot, the AI-powered coding assistant developed by GitHub and OpenAI, is not limited to code generation. It can also help you create logos.

Go further

Get new prompts every week

Join our newsletter.