mirror of
https://github.com/warmbly/warmbly.git
synced 2026-09-06 08:01:24 +00:00
Add warmup content generation and admin review surfaces, plus mailbox warmup appeal/status APIs. Track warmup engagement and tampering signals so unsafe mailboxes can be handled by the warmup flow.
12 lines
506 B
Go
12 lines
506 B
Go
package tasks
|
|
|
|
import "github.com/warmbly/warmbly/internal/pkg/warmlint"
|
|
|
|
// lintWarmupContent rejects content that would raise the sending mailbox's own
|
|
// spam score (ALL-CAPS subjects, stacked punctuation, stacked spam triggers, a
|
|
// fabricated Re:/Fwd: on a non-reply). Shared with the offline AI generator via
|
|
// the warmlint package so static and AI content are held to the same bar.
|
|
func lintWarmupContent(subject, body string, isReply bool) error {
|
|
return warmlint.Check(subject, body, isReply)
|
|
}
|