{{define "content"}}{{with .Data}}{{$d := .}}{{$tab := .Tab}}

Outreach

{{if not .NotReady}}
{{end}}

Emails and LinkedIn messages to the people you accepted, each written from their buying signal's angle. Read and edit every draft: emails you queue go out one at a time, within your sending hours and daily limit; LinkedIn messages you send yourself. Replies, bounces and requests to stop come back from the inbox into the funnel.

{{if not .Configured}}

Set up the mailbox under Settings → Email before queuing emails. You can draft already.

{{else if .NotReady}}

Sending is off: {{.NotReady}}.

{{else}}

{{.SentToday}} of {{.S.DailyLimit}} emails sent today{{with .Counts.queued}}, {{.}} queued{{end}}. {{if .Window}}Paused: {{.Window}}.{{else}}Sending now, one every {{.S.GapMinutes}} minutes or more.{{end}}

{{with .LastCheck}}

Inbox read {{ago .At}}{{if .Error}}: {{.Error}}{{else}}: {{.Read}} new {{if eq .Read 1}}message{{else}}messages{{end}}{{if .Replies}}, {{.Replies}} {{if eq .Replies 1}}reply{{else}}replies{{end}}{{end}}{{if .Bounces}}, {{.Bounces}} bounced{{end}}{{if .Stops}}, {{.Stops}} asked to stop{{end}}{{if .AutoReplies}}, {{.AutoReplies}} automatic{{end}}{{if .Bookings}}, {{.Bookings}} {{if eq .Bookings 1}}booking{{else}}bookings{{end}}{{end}}.{{end}}

{{end}} {{end}}
{{if or .Emailable .Linkable}}
Write to accepted people nobody has written to yet ({{.Emailable}} with an email address, {{.Linkable}} on LinkedIn), 5 at a time: {{if .Signals}}{{end}}
{{end}} {{range .Messages}}{{$m := .}}

{{.Contact.Name}}{{with .Contact.Title}} {{.}}{{end}}{{with .Company}} at {{.}}{{end}}

{{if eq .Channel "email"}}Email{{else}}LinkedIn{{end}} {{if eq .Channel "email"}}{{.To}}{{if eq .Contact.EmailStatus "valid"}} verified{{else if eq .Contact.EmailStatus "risky"}} risky{{else if eq .Contact.EmailStatus "invalid"}} bounces{{else}} not verified{{end}} {{else}}LinkedIn profile ↗{{end}} {{with index $d.SignalNames .SignalID}} · signal {{.}}{{end}} · written {{ago .CreatedAt}}{{if not .SentAt.IsZero}} · sent {{ago .SentAt}}{{end}}

{{if eq .Status "draft"}} {{if eq .Channel "email"}}
{{else}}
Open their profile ↗
{{end}} {{else if eq .Status "queued"}} {{template "message-text" .}}
{{else}} {{template "message-text" .}} {{with .Error}}

{{.}}

{{end}} {{if not .RepliedAt.IsZero}}

They replied {{ago .RepliedAt}}:

{{.Reply}}
{{else if and (eq .Status "sent") (eq .Channel "linkedin")}}
They replied
{{end}} {{if eq .Status "failed"}}
{{end}} {{end}}
{{else}}
{{if eq $tab "draft"}}

No drafts. Write one from a person in Review, or draft for several accepted people above.

{{else if eq $tab "queued"}}

Nothing queued.

{{else if eq $tab "sent"}}

Nothing sent yet.

{{else if eq $tab "replied"}}

No replies yet.

{{else}}

Nothing failed or bounced.

{{end}}
{{end}} {{end}}{{end}} {{define "message-text"}} {{if .Subject}}

{{.Subject}}

{{end}}
{{.Body}}
{{end}}