How can I send mail containing rendered entity from referenced field?
You need to use target_id to get the node id, then load the node and get the fields values you want.
$avtal_id = $node-&gt;field_avtalsnummer[LANGUAGE_NONE][0]['target_id'];
$avtal_node = node_load($avtal_id);