GitHub Copilot Prompt for Writing an Email
GitHub Copilot, initially designed as a development assistant, proves remarkably effective for writing professional emails directly from your code editor. Whether you are a developer communicating with your team, a project manager coordinating sprints, or a tech professional drafting client emails, Copilot understands the context of your work and generates structured, clear emails tailored to your audience. By using comments as instructions in a Markdown or text file, you can guide Copilot to produce emails with the right tone, level of formality, and essential information. The major advantage lies in direct integration with your work environment: no need to switch tools; you stay within VS Code or your favorite IDE. Copilot particularly excels at technical emails, meeting notes, review requests, and cross-team communication, leveraging the context of files open in your project.
Paste in your AI
Paste this prompt in ChatGPT, Claude or Gemini and customize the variables in brackets.
// Write a professional email with the following parameters:
// Recipient: [RECIPIENT_NAME_AND_ROLE]
// Subject: [EMAIL_TOPIC]
// Context: [SITUATION_OR_ONGOING_PROJECT]
// Goal: [EXPECTED_RESPONSE_OR_ACTION]
// Tone: [FORMAL / SEMI-FORMAL / CORDIAL]
// Key points to cover:
// 1. [FIRST_KEY_POINT]
// 2. [SECOND_KEY_POINT]
// 3. [THIRD_KEY_POINT_IF_NEEDED]
// Constraint: the email must be concise (max 200 words), include an appropriate salutation and a clear call to action.
const email = `
Personalize this prompt with Léa
Léa rewrites this prompt for your job and your exact goal — 3 quick questions.
Why this prompt works
This prompt leverages Copilot's ability to interpret structured comments as generation instructions. By explicitly specifying the recipient, tone, and key points, ambiguity is reduced, yielding a targeted email from the first generation. The length constraint and call to action force Copilot to produce a directly usable result rather than generic text.
Use Cases
Variants
Expected Output
Copilot generates a complete email with subject line, personalized salutation, structured body in short paragraphs covering each key point, and a conclusion with a precise call to action. The tone is consistent with the chosen directive, and the text stays under the requested word limit, ready to be copied and pasted into your email client.
Frequently Asked Questions
How to use GitHub Copilot to draft an email from VS Code?
Create a .md or .txt file in your project, write your instructions in comments describing the recipient, objective, and desired tone, then let Copilot autocomplete. You can also use Copilot Chat (Ctrl+I) to ask it directly to draft the email in a conversation. The trick is to start with a structured template that Copilot can intelligently complete.
Can GitHub Copilot adapt the tone of an email based on the recipient?
Yes, Copilot effectively adjusts the language register when you specify the tone in your instructions. Indicate 'formal' for an email to a client or superior, 'cordial' for a colleague, or 'casual' for informal internal communication. For best results, also mention the recipient's role and your professional relationship, which helps Copilot calibrate the level of technical detail and the closing salutation.
Can Copilot use my project context to enrich the email?
This is one of Copilot's distinctive advantages over generalist AI tools. If you have open files related to the email subject (README, changelog, tickets), Copilot can draw from them to include relevant technical details. For instance, when drafting a release email, open the CHANGELOG.md and Copilot will naturally incorporate the latest changes into your communication. With Copilot Chat, you can even reference specific files using @workspace.
Improve this prompt
Run this prompt through the Optimizer to strengthen its context, constraints and expected format.
Improve this prompt with the OptimizerComments
- LéaAI
Astuce : demandez à Copilot de produire **trois variantes** (formelle, concise, orientée action) puis choisissez. Ajoutez aussi `Format : texte brut` et `Sujet : ligne d'objet` pour un usage direct. Si l'email nécessite des arguments chiffrés, faites-lui intégrer des données du contexte.
📬 Get new prompts every week
Join our newsletter and never miss a prompt.
Go further
Similar Prompts
Quarterly Business Review Email
Client retention
Prompt ChatGPT for Writing a Report
Writing reports is a key skill in the professional world, whether for activity reports, market analyses, project reviews, or strategic summaries. Yet structuring ideas, adopting the right tone, and producing a clear, impactful document takes considerable time. ChatGPT radically transforms this process by supporting you at every stage: from defining the outline to final writing, including rewording and formatting. With a well-crafted prompt, you get a structured, professional report tailored to your audience in minutes instead of hours. The goal is not to fully delegate writing to AI, but to use it as a smart co-pilot that accelerates your production while keeping your expertise at the core of the document. Whether you are a consultant, manager, analyst, or student, mastering the right prompts for report writing gives you a measurable competitive advantage. Discover below the optimized prompt and its variants for producing professional-quality reports with ChatGPT.
Thesis or Final Paper: Detailed Outline
Graduation thesis
GitHub Copilot Prompt for Writing a Speech
GitHub Copilot, the AI development assistant created by GitHub and OpenAI, is not limited to code generation. Thanks to its advanced natural language processing capabilities, it can also help you write structured content like a speech. Whether you are preparing an address for a professional event, a wedding speech, or a public presentation, Copilot helps you organize your ideas, find the right tone, and build compelling arguments. By using the chat integrated into your code editor, you can quickly iterate on the structure, style, and content of your speech. Copilot's advantage lies in its ability to understand the context you provide and generate coherent suggestions that respect your constraints of duration, audience, and register. In this guide, we offer you an optimized prompt to get the most out of GitHub Copilot for speech writing, along with variants for different experience levels and answers to the most common questions about this creative use of the tool.