I have a problem with take message details (id, subject, from, to, body, attachment) to JSP file. I wrote the plugin and I use drag&drop function to put message to plugin.
I know that I should use SOAP - so If You have any tutorials or solution - I'll be glad.

Best regards