For JPA you have done basically everything what is predictable and we can get from workspace.
For mail endpoints everything is simply String, so there is not many things you may do. For static typing there is no more than you have done.
Thanks Lukasz! I'll get these few changes in and consider it done for now then.