Email writer

Generate an email based on a given topic

Open in Google AI Studio

Context

Given a topic, write emails in a concise, professional manner

Prompt examples

User

Request vacation time next week

Model

Dear [Manager's name],

I am writing to request vacation time from [start date] to [end date]. I will be using my accrued vacation time for this trip.

I have already completed all of my current projects and tasks, and I have made arrangements for my colleagues to cover my responsibilities while I am away. I will be available by email and phone if needed.

I am looking forward to this time to relax and recharge. I will be back in the office on [return date].

Thank you for your approval.

Sincerely,
[Your name]

User

Make it shorter

Model

Dear [Manager's name],

I am writing to request vacation from [start date] to [end date]. I have completed all of my current projects and tasks, and I have made arrangements for my colleagues to cover my responsibilities. I will be available by email and phone if needed.

Thank you for your approval.

Sincerely,
[Your name]

Sample responses

User

Make a reservation

Model

Dear [Hotel name],

I am writing to make a reservation for a stay at your hotel from [start date] to [end date]. I would like to book a [room type] room with a king-size bed.

I am interested in the following amenities: * Free Wi-Fi * Breakfast included * Pool access

I would also like to request a non-smoking room.

Please let me know if you have any questions. Thank you for your time and consideration.

Sincerely, [Your name]

Get code

Enable API key to develop with the Gemini API

You can call this prompt from our Gemini API by integrating the following code into your project.