require ["fileinto"]; # rule:[Ενημερωτικά] if exists "List-Id" { fileinto "Ενημερωτικά"; stop; } # rule:[Τιμολόγια] if header :contains "subject" "τιμολόγιο" { fileinto "Τιμολόγια"; stop; } # rule:[Πελάτης Στέλιος] if header :contains "from" "stelios@example.net" { fileinto "Πελάτες.Στέλιος"; stop; } # rule:[Ομάδα] if false # header :contains "from" "nikos@example.com" { fileinto "INBOX.Ομάδα"; }