50 cold emails in one run. 29 failed. All resent
Nov 11. 20 Mono commits, 14 of them on one task: the cold email. Mono, my Telegram assistant on Cloudflare Workers, finds small premium businesses and drafts a note for each. Problem: a free Worker run allows 50 outside
Nov 11. 20 Mono commits, 14 of them on one task: the cold email.
Mono, my Telegram assistant on Cloudflare Workers, finds small premium businesses and drafts a note for each. Problem: a free Worker run allows 50 outside calls. 50 emails in one run used them up after about 20.
Fix: emails go out 4 per run through a Durable Object. /me//send-today starts it by hand.
The writing took more rounds than the code. In one day the email went from a styled button, to 45-80 words with no greeting, to Lavender's findings (30-60 words, a 1-3 word internal-sounding subject, an easy yes/no question to close), to a plain personal note of 70-110 words signed "Best, Wasay". I kept checking whether it would land in Gmail's Primary tab.
More fixes the same day:
→ Names keep their capitals: cheval three quays became Cheval Three Quays.
→ A slow site loads with "load", not network idle, so the photo is never a browser error page.
→ Scouting finds the person, not the help desk. Support, help, careers, press and orders addresses are never written to.
→ Test emails go only to the inbox named in settings.
→ Worldwide outreach, sent at 9:30 local on a weekday. Canada, Germany, Austria, Italy and Poland are left out because of their consent laws.
Free limits are real limits. Build for them first.
buildinpublic #cloudflareworkers #durableobjects #coldemail #automation
From the build journal of abdulwasaylodhi.com.
Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.