I'm not sure why "Laurens" suggested a composite key, but you can try the following mapping file:
Code:
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping>
<class name="your.class.name" table="database_table">
<id name="email" column="email" >
<generator class="assigned" />
</id>
<property name="password" type="string" column="password" not-null="true" />
<property name="familyname" type="string" column="familyname" not-null="true" />
<property name="givenname" type="string" column="givenname" not-null="true" />
</class>
</hibernate-mapping>
The above will use an assigned primary key. Remove the "not-null="true"" if the columsn can be null