package worker

import (
	"inboxer/src/internal/imap"
)

// PlaceholderClassifier classifies all emails as "Other" until the AI
// integration (Phase 3) is implemented.
type PlaceholderClassifier struct {
	DefaultFolder string
}

// NewPlaceholderClassifier creates a classifier that routes everything
// to the given default folder.
func NewPlaceholderClassifier(defaultFolder string) *PlaceholderClassifier {
	return &PlaceholderClassifier{DefaultFolder: defaultFolder}
}

// Classify returns a default classification for all emails.
// This placeholder will be replaced by the real AI classifier in Phase 3.
func (c *PlaceholderClassifier) Classify(email imap.EmailSummary) (string, int, error) {
	return c.DefaultFolder, 0, nil
}
