Retrieve Author Email based on Entry Id I have created a front-end form to facilitate editorial review of user submitted content. I have created a controller action to receive the post. 

My question, how do I locate the email address of the author tied to this entry? My objective is to be able to email the author with the results of the editorial review. In order to accomplish this I need to know the user (author) email address etc. Here is my code.

$this-&gt;requirePostRequest();

$entryId = craft()-&gt;request-&gt;getRequiredPost('entryId');
$editorialNotesInternal = craft()-&gt;request-&gt;getPost('fields.editorialNotesInternal');
$editorialScore = craft()-&gt;request-&gt;getPost('fields.editorialScore');
$editorialNotes = craft()-&gt;request-&gt;getPost('fields.editorialNotes');
$sectionId = craft()-&gt;request-&gt;getPost('sectionId');

$entry = new EntryModel();

$entry-&gt;id = $entryId;
$entry-&gt;sectionId = $sectionId;

if ( $editorialScore &gt;= 3) {
    $entry-&gt;enabled = true;
} else {
    $entry-&gt;enabled = false;
}   

$entry-&gt;getContent()-&gt;editorialScore = $editorialScore;
$entry-&gt;getContent()-&gt;editorialNotes  = $editorialNotes;
$entry-&gt;getContent()-&gt;editorialNotesInternal  = $editorialNotesInternal;

$success = craft()-&gt;entries-&gt;saveEntry($entry);
I assume you're talking about getting the email address of the currently logged in user?  That's what EntryModel's authorId property will get set to, if one isn't explicitly supplied.

If so, you can do that with:

$email = craft()-&gt;userSession-&gt;getUser()-&gt;email;


If you want to get the email address of the user that is the author of the entry, then you can do:

$email = $entry-&gt;getAuthor()-&gt;email;