[Misc] Fix copy paste
[Misc] fix javadoc
XWIKI-11490: Make sure only authorized persons can use the Mail Sender API