title: getRespondentEmail() returning my email not the Form responder
body: <p>I am on a Google domain and am trying to extract the form respondents email (which is automatically collected as they have to be signed in to fill out the form)</p>
  
  <p>but the result is that I keep getting my email returned instead of the form respondent?</p>
  
  <p>This is code that is contained within the given form, hence using </p>
  
  <p>var form = FormApp.getActiveForm()   </p>
  
  <p>but I cant work out why I am getting my own email every time?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>function GetRespondersEmail(){
    var form = FormApp.getActiveForm();
    
    var responses=form.getResponses();
  /// this will give you all responses of your form as an array////
  
  ///iterate the array to get respondent email id///
  
  for(var i = 0; i &lt; responses.length; i++){
     var emailTo = responses[i].getRespondentEmail();
    
    Logger.log('emailTo = '+emailTo);
    return emailTo;
  }
  };</code></pre>
  </div>
  </div>
  </p>