A sidebar section that tracks email activity.
- Counts emails opened, sent, and received in the current session
- Persists lifetime totals across sessions using plugin storage
- Configurable via settings (toggle tracking of opens and sends)
- Counters as sidebar rows, the number where a folder shows its count
slots['sidebar-section']— a section in the mail sidebar; the host draws its header@plugin-host/ui—SidebarRowandSidebarEmptyfrom the app's UI kitapi.hooks.onEmailOpen()— tracking email opensapi.hooks.onAfterEmailSend()— tracking sent emailsapi.hooks.onNewEmailReceived()— tracking incoming emailsapi.storage— persistent data across sessionsapi.plugin.settings— reading user-configured settings- React
useState+useEffectwithout JSX
npm install
npm run build
cp manifest.json dist/
cd dist && zip -r ../email-stats.zip manifest.json index.jsUpload email-stats.zip via Admin → Plugins.