Because the mail session isn't only one way. In theory it could be used to READ mail as well from a POP or IMAP mail box. And reading DOES require a user.
The JavaMail resource is a VERY thin veneer over just the standard JavaMail properties that can be used (and added as additional properties).
So, just lie to it, it won't use the user anyway.
[Message sent by forum member 'whartung' (whartung)]
http://forums.java.net/jive/thread.jspa?messageID=237441