Overview
Set up a weekly Codex scheduled task in the desktop app that reads a local project's files and writes a status briefing, which you review and then email to the team through Gmail.
Problem or Objective
- Which assistants prepare a daily summary for you?
- Which agents can draft a document section by section and save it in a reusable, structured format?
More in Business Operations
AI Agents and Models
Tools and Integrations
- Tools
- Codex · Gmail
- Prerequisites
- The ChatGPT desktop app with Codex on a plan and workspace where scheduled tasks are available, a local project, a computer left on with the app running at the scheduled time, and the Gmail plugin if Codex sends the message (in Business and Enterprise workspaces, admins manage plugin installation).
How It Works
Decide which files describe the project's status, such as a changelog, a task list and recent commit history. In the ChatGPT desktop app, create a scheduled task for the project that runs each week in an isolated worktree with a read-only sandbox, and give it a prompt that reads those files and writes a short briefing: what changed, what is blocked and what is next, with links to the files it used. Keep the computer on and the app running at the scheduled time. When the run finishes, read the briefing, correct anything wrong, and only then send it: either paste it into Gmail yourself, or, in a normal Codex chat with the Gmail plugin installed, ask it to send the approved text; check on a test message first that it shows you the message and recipients before sending, and paste it yourself if it does not.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up Codex CLI.
- Connect the toolsConnect the tools this workflow relies on: Codex, Gmail.
- Check the prerequisitesThe ChatGPT desktop app with Codex on a plan and workspace where scheduled tasks are available, a local project, a computer left on with the app running at the scheduled time, and the Gmail plugin if Codex sends the message (in Business and Enterprise workspaces, admins manage plugin installation).
- Gather your detailsCollect what the prompt asks for: Files that describe status, Start of the period, Who reads the briefing, Maximum length.
- Run the starter promptPaste the starter prompt below into Codex CLI and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at developers.openai.com before you rely on it.
Practical Starter Prompt: Write the weekly project briefing
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
Read [Files that describe status] and the commit history since [Start of the period]. Write a briefing for [Who reads the briefing] of no more than [Maximum length]: what changed, what is blocked, and what comes next, with the file or commit each point comes from. Mark anything you are unsure of. Do not modify any files and do not send anything: save the briefing as your reply so I can review it before it is emailed.Run it as a weekly scheduled task with a read-only sandbox. After each run, review the briefing and send it yourself, or have Codex send it through the Gmail plugin in a normal chat, once a test message has shown that it asks you to confirm the message and recipients first.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. OpenAI's documentation says scheduled tasks in the desktop app can work with local projects, run unattended with your default sandbox settings and use plugins, and that a Gmail plugin can be installed. The pages do not describe a weekly status email, so the quality of each briefing is for you to check before it is sent.
Limitations and Considerations
Scheduled tasks run unattended, so keep the sandbox read-only and keep sending as a separate step you approve. Project-scoped tasks need the machine powered on and the desktop app running. Availability depends on your plan and workspace settings, and in Business or Enterprise workspaces admins control which plugins members can install. Check that the briefing does not include anything the recipients should not see. Results depend on your setup and were not independently reproduced by Top 200 Repos.
GitHub Repositories
AI Agent Repository
Source code of the agent that does the work.
Official Website
The official site of the main tool or project in this use case.
Visit Website (opens in a new tab)developers.openai.com
Related Videos
About openai/codex
Meet the New Codex CLI (opens in a new tab)
Published by the project’s official channel.
Watch on YouTube (opens in a new tab)Independent creators. Listing a video implies no endorsement, sponsorship or partnership.
Sources
- Scheduled tasks | ChatGPT Learn (opens in a new tab)
Project documentation · developers.openai.com · Undated · Source checked 27 Nov 2026, 09:45 UTC
What this source supports
- In the ChatGPT desktop app, scheduled tasks can work with local projects and run in the project directory or an isolated worktree.
- Scheduled tasks run unattended and use your default sandbox settings.
- Scheduled tasks created with ChatGPT Work on the web, or with ChatGPT Work or Codex in the desktop app, can use plugins.
- For project-scoped scheduled tasks, keep the machine powered on and the ChatGPT desktop app running.
- Availability depends on your plan and workspace settings.
- Plugins | ChatGPT Learn (opens in a new tab)
Project documentation · developers.openai.com · Undated · Source checked 27 Nov 2026, 12:24 UTC
What this source supports
- Install the Gmail plugin to work with Gmail.
- Using Codex with your ChatGPT plan | OpenAI Help Center (opens in a new tab)
Project documentation · help.openai.com · Undated · Source checked 26 Nov 2026, 17:27 UTC
What this source supports
- For Business and Enterprise/Edu workspaces, admins and owners manage plugin installation in Admin console.
