quick (and dirty?) fix

do not try use (sequence-number-message folder n) until it's actually set.
the side effect is relatively late calling of ON-HEADER callback