throw an error if trying to copy message without opening a mailbox first. Fixes #35