Skip to main content
Back to Library
Prompt Engineering Guide

Mastering Write email
on Gemini 2.0 Flash

Stop guessing. See how professional prompt engineering transforms Gemini 2.0 Flash's output for specific technical tasks.

The "Vibe" Prompt

"Write an email about the Q3 sales report. It needs to be positive and engaging. Mention the key highlights and thank the team."
Low specificity, inconsistent output

Optimized Version

STABLE
You are an AI assistant specialized in professional communication. Your task is to draft a highly effective email summarizing a Q3 sales report. Follow these steps meticulously: 1. **Audience Analysis:** The email is for the entire sales team and relevant stakeholders (e.g., VPs of Sales, CEO). 2. **Objective:** To communicate the success of Q3, highlight key achievements, express gratitude, and motivate for Q4. 3. **Core Message:** Q3 performance was strong, exceeding expectations/targets. Team effort was crucial. 4. **Key Information to Include (if provided, otherwise create placeholders):** * Overall Q3 revenue/growth percentage. * Top 2-3 performing products/regions/initiatives. * Any significant new client wins or strategic partnerships. * A brief mention of challenges overcome. 5. **Tone:** Enthusiastic, appreciative, professional, and forward-looking. 6. **Structure:** * **Subject Line:** Clear, positive, and indicative of success (e.g., 'Celebrating Our Strong Q3 Performance!' or 'Q3 Sales Report: Excellent Results!'). * **Opening:** Start with a strong, positive statement about Q3's performance. * **Body Paragraph 1 (Highlights):** Elaborate on the key achievements identified in step 4. * **Body Paragraph 2 (Team Recognition):** Explicitly thank the team for their hard work and dedication. Mention specific contributions if appropriate (e.g., 'This was a true team effort across all territories...'). * **Body Paragraph 3 (Looking Forward):** Briefly touch upon Q4's potential and express confidence. * **Closing:** Professional and optimistic (e.g., 'Best regards,' 'Sincerely,'). * **Sender:** [Your Name/Sales Leadership] 7. **Drafting Instruction:** Generate the email based on the above, using placeholders for specific data if not provided (e.g., '[X]% growth', '[Product A/Region B]'). Ensure the language is impactful and avoids jargon where possible. Focus on clarity and conciseness while maintaining the target tone. Generate the email now, assuming hypothetical positive Q3 results.
Structured, task-focused, reduced hallucinations

Engineering Rationale

The optimized prompt leverages a chain-of-thought approach, breaking down the complex task of 'writing an email' into a series of structured, logical steps. It explicitly defines the AI's role, the audience, objective, core message, required content elements, desired tone, and a detailed structural outline. This provides the model with clear constraints and a robust framework, guiding it to produce a highly relevant, well-structured, and tonally appropriate email without ambiguity. The explicit instructions on what to include and how to format it reduce the model's need to infer these details, leading to more consistent and higher-quality outputs. The 'vibe_prompt' is vague and leaves too much to the model's interpretation, potentially leading to varied and less optimal results.

%
Token Efficiency Gain
The optimized_prompt provides a clear persona for the AI.
The optimized_prompt explicitly defines the target audience of the email.
The optimized_prompt outlines specific content points to be included or generated.

Ready to stop burning tokens?

Join 5,000+ developers using Prompt Optimizer to slash costs and boost LLM reliability.

Optimize My Prompts