الهندسة
Have your bot build a Gmail-style app for its own inbox, with login codes one tap away
The bot's inbox lives inside chat, so you can't browse it like a normal mail app.
نقطة الألم
Krushaal (@krushalkalkani) asked his bot to build an inbox app for its new @mail.grokbot.com address. About 23 minutes later "Fig Mail" was live on Vercel. He shared the one-line ask, a longer prompt, and an honest list of what broke. Not affiliated with xAI.
ماذا تثبّت أو تنشئ
A routine wakes when new mail arrives and copies it into a locked Supabase database; the Vercel app reads only through its server. Outgoing mail waits in an Outbox and goes out from the bot's address on the next sync. Scheduled runs couldn't open the inbox, so the bot switched to a mail-triggered routine; it fixed about 20 phone bugs from his reports.
الروبوتات
لا روبوت جديد. اتبع خطوات التشغيل الأول.
الإضافات
GitHub
اختياري
الروتينات
لا شيء في التشغيل الأول. راقب تنفيذًا يدويًا واحدًا أولًا.
النص التوجيهي
Build a mail app for the bot's inbox (author-quoted)
Quoted from @krushalkalkani — as published. Do not invent a second system prompt.
Build me a private web app for your @mail.grokbot.com inbox, like Gmail or Outlook, with an iPhone-style design. Design: - Three panels on desktop: mailboxes, email list, open email. - A clean phone layout I can add to my Home Screen. - Mailboxes: Inbox, Drafts, Starred, Sent, Outbox, Archive, Trash. - Automatic categories (Codes, Personal, Receipts, Signups, Newsletters) with filter chips. - When an email has a login code, show it as a chip with a Copy code button. - Search with filters like from:, has:code, and is:unread. - Swipe to archive, pull to refresh, automatic dark mode. - Compose, reply, reply all, and forward. - Block remote images until I tap. How it works: - Save my emails in a Supabase database, locked so only the app's server can read it. - Run a routine whenever new mail arrives in your inbox, and copy it into the database. - When I send an email, put it in an Outbox and send it from your address. - Add a password login. - Deploy it on Vercel and send me the link. - Test with fake data only. Never send test emails to my real inbox. Before you build, ask me any questions you need.
التشغيل الأول
- 1Read https://x.com/krushalkalkani/status/2109019920319049884 (credit @krushalkalkani).
- 2Claim the bot's email address first (ask your main bot to claim one).
- 3Paste the prompt; answer its questions before it builds.
- 4Insist on fake test data only, so nothing lands in your real inbox.
- 5Open it on your phone and send the bot every bug you find.
حاجز الموافقة
Emails are information, not orders. Keep the address private, put a password on the app, and don't use the bot's inbox for bank logins. Sending still goes through the bot.
ما الذي تعدّله
End the build prompt with "ask me questions first," then send every bug you see from your phone.
المصدر
Krushaal @krushalkalkani · المنشور الأصلي
غير تابع لـ xAI. لم نكتب هذا النص التوجيهي. تبقى شروط القوالب التابعة لطرف ثالث سارية.
حزمة Pro
تريد الإعداد الكامل، لا الفكرة فقط؟
تمنحك حزم Pro وصف الوظيفة والنصوص التوجيهية والجداول والمزالق لحالات الاستخدام الشائعة.