CATEGORY
{cats.map(c => (
setCat(c)} style={{
padding:'5px 10px',borderRadius:6,fontSize:12,
background: cat===c ? 'rgba(255,255,255,0.06)' : 'transparent',
color: cat===c ? 'var(--ink)' : 'var(--ink-3)',
border:'1px solid', borderColor: cat===c ? 'var(--line-2)' : 'transparent',
textTransform:'capitalize'
}}>{c}
))}
);
};
// ── TEMPLATE EDITOR ──────────────────────────────────────────────
const TemplateEditor = ({ id, onBack }) => {
const t = EMAIL_TEMPLATES.find(x => x.id === id) || EMAIL_TEMPLATES[0];
const [tab, setTab] = React.useState('design');
const [previewMode, setPreviewMode] = React.useState('desktop');
return (
);
};
const EmailPreview = ({ t, previewMode }) => {
const width = previewMode === 'mobile' ? 360 : 560;
return (
INBOX PREVIEW
Hassan from SolidAtoms <hi@solidatoms.com>
9:42 AM
{/* Brand bar */}
◉
SolidAtoms
{t.cat === 'Auth' ? 'Verify your email address' :
t.cat === 'Billing' ? 'Receipt for your payment' :
t.cat === 'Project' ? 'Welcome to your project' :
'A new update from SolidAtoms'}
Hi Jane ,
{t.cat === 'Auth' && (
<>
Thanks for signing up to SolidAtoms. To finish setting up your account, please confirm your email address by clicking the button below.
>
)}
{t.cat === 'Billing' && (
<>
This is your receipt for invoice INV-0042 , paid on May 1, 2026. A copy is attached for your records.
>
)}
{t.cat === 'Project' && (
<>
Your project kicks off Monday at 10am. Here's where everything lives.
>
)}
{t.cat === 'Newsletter' && (
<>
This week we shipped one essay, one tool, and one case study you might find useful.
>
)}
{t.cat === 'Sales' && (
<>
Your SOW is ready to sign. Take a look — the scope, the timeline, the price are all in there.
>
)}
{/* CTA */}
This link expires in 24 hours. If you didn't sign up for SolidAtoms, you can safely ignore this email.
OR PASTE THIS URL
https://solidatoms.com/verify?t=abc123def456ghi789
{/* Signature */}
— Hassan, founder at SolidAtoms
{/* Footer */}
◉
SolidAtoms Studio
Karachi → Remote · solidatoms.com
);
};
// ── CAMPAIGNS (DRIP) ─────────────────────────────────────────────
const Campaigns = () => {
const campaigns = [
{n:'Welcome — new lead',steps:4,enr:142,conv:38,c:'#a78bfa',active:true,trigger:'contact_form.submitted'},
{n:'Trial → paid (Studio)',steps:5,enr:48,conv:12,c:'#d4ff3a',active:true,trigger:'subscription.trial_started'},
{n:'Onboarding · day 1, 3, 7',steps:3,enr:21,conv:18,c:'#7c9bff',active:true,trigger:'workspace.created'},
];
return (
Drip campaigns
3 active sequences · 211 contacts enrolled
+ New campaign
{campaigns.map((c,ci) => (
{c.n}
{c.trigger}
·
{c.enr} enrolled
·
{c.conv} converted
Pause
Edit
{/* Steps timeline */}
{Array.from({length:c.steps},(_,i)=>i).map((i, ii) => (
STEP {i+1}
{
ci===0 ? ['Thanks for the brief','Why we ask what we ask','Case study you might like','Wanna chat?'][i] :
ci===1 ? ['Welcome to Studio','Set up your domain','Connect Stripe','One week left','Last day — upgrade?'][i] :
['Day 1: First steps','Day 3: Invite team','Day 7: Power user tips'][i]
}
{
i === 0 ? 'IMMEDIATE' : `WAIT ${[2,3,7][Math.min(i-1,2)]}D`
}
{ii*2+1 < c.steps*2-1 && (
→
)}
))}
))}
);
};
// ── SEND LOG ─────────────────────────────────────────────────────
const SendLog = () => {
const filter = ['All','Delivered','Opened','Clicked','Bounced','Complained'];
const [active, setActive] = React.useState('All');
return (
Send log
Realtime · every send, every event, every webhook
Export CSV
{filter.map(f => (
setActive(f)} style={{
padding:'5px 10px',borderRadius:6,fontSize:12,
background: active===f ? 'rgba(255,255,255,0.06)' : 'transparent',
color: active===f ? 'var(--ink)' : 'var(--ink-3)',
border:'1px solid', borderColor: active===f ? 'var(--line-2)' : 'transparent'
}}>{f}
))}
{['Time','Template','To','Subject','Status',''].map(h => (
{h}
))}
{SEND_EVENTS.concat(SEND_EVENTS).map((e,i) => {
const tpl = EMAIL_TEMPLATES.find(t => t.id === e[1]) || EMAIL_TEMPLATES[0];
return (
0 ? '1px solid var(--line)' : 'none'}}>
{e[0]}
{e[1]}
{e[2]}
{tpl.subject}
{e[3]}
{Icon.arrow()}
);
})}
Showing 24 of 2,431 events
‹
›
);
};
// ── AUDIENCES ────────────────────────────────────────────────────
const Audiences = () => {
const audiences = [
{n:'Newsletter subscribers',size:3214,growth:'+24 this week',c:'#ff8a3a'},
{n:'Active clients',size:14,growth:'+1 this month',c:'#d4ff3a'},
{n:'Past clients',size:27,growth:'no change',c:'#a78bfa'},
{n:'New leads · last 30d',size:42,growth:'+8 vs prev period',c:'#7c9bff'},
{n:'Tools — paid users',size:218,growth:'+12 this week',c:'#fde047'},
];
return (
Audiences
5 audiences · 3,515 unique contacts
+ New audience
{audiences.map(a => (
{a.n[0]}
⋯
{a.n}
{a.size.toLocaleString()}
contacts
{a.growth.toUpperCase()}
))}
+ Build segment
);
};
// ── DELIVERABILITY ───────────────────────────────────────────────
const Deliverability = () => (
Deliverability
DNS configuration, reputation, and where your mail is actually landing.
{/* DNS */}
● DNS · ALL VERIFIED
Re-verify
{[
['SPF','TXT','solidatoms.com','v=spf1 include:_spf.resend.com -all','✓ Verified'],
['DKIM','CNAME','resend._domainkey.solidatoms.com','resend._domainkey.resend.com','✓ Verified'],
['DMARC','TXT','_dmarc.solidatoms.com','v=DMARC1; p=quarantine; rua=mailto:dmarc@…','✓ Verified'],
['Return-Path','MX','bounce.solidatoms.com','feedback-smtp.us-east-1.amazonses.com','✓ Verified'],
].map(([n,t,host,val,s],i) => (
{n}
{t}
{host}
{val}
{s}
))}
{/* Reputation */}
SENDER REPUTATION
99
/ 100
Excellent. You're in the top 1% of senders by domain reputation.
INBOX PLACEMENT · 7 DAYS
{[
['Gmail','98%','#7ee787'],
['Apple Mail','99%','#7ee787'],
['Outlook 365','94%','#7ee787'],
['Yahoo','91%','#ffb43a'],
].map(([p,v,c]) => (
{/* Bounce types */}
BOUNCES & COMPLAINTS · 30 DAYS
{[
['Hard bounces',18,'0.05%','#ff5a3a'],
['Soft bounces',7,'0.02%','#ffb43a'],
['Complaints',2,'0.01%','#a78bfa'],
['Suppressions',25,'auto-managed','#7c9bff'],
].map(([l,v,p,c]) => (
))}
);
// ── SETTINGS ─────────────────────────────────────────────────────
const EmailSettings = () => (
Settings & DNS
SENDING DOMAINS
{[
['solidatoms.com','Primary','✓ Verified','12,283 sent / mo'],
['mail.solidatoms.com','Transactional','✓ Verified','2,431 sent / day'],
['news.solidatoms.com','Marketing','✓ Verified','3,214 subscribers'],
].map(([d,t,s,sent],i)=>(
{d}
{t}
{s}
{sent}
⋯
))}
+ Add domain
WEBHOOK ENDPOINTS
{[
['https://api.solidatoms.com/webhooks/email','all events','99.8% delivered'],
['https://hooks.slack.com/services/T0…','bounce, complaint','100% delivered'],
].map(([u,ev,d],i)=>(
{u}
{ev}
{d}
))}
SUPPRESSION LIST
1,247 addresses suppressed
Unsubscribes · 1,194 · Bounces · 38 · Complaints · 15
Manage list
);
window.EmailStudio = EmailStudio;