Well, we don't know from the OP if this is a stand-alone Java application, or a web-application.
If web then the server runs under an account, which may be passed to the IMAP server.
Returning "false" indicates that the rename failed, and it looks like no other data is available.
If this is M$
Exchange, may be possible to look at the logs or events on the host.
WP