fixed issue with annotations of emailTemplate to EmailProfile relationship