Sets the priority.
@override void setPriority(int priority) { if (priority < 1 || priority > 5) { throw MailException('Priority must be between 1 and 5'); } _priority = priority; }