You used a message number of 0 or one that is greater than the number of messages in the mailbox.
Use a message number in the range from 1 to the number of messages in the mailbox.