title: Login to Gmail via a form on a website?
body: <p>This question has been asked many a times, and most of the answers deal with fetching the emails using IMAP or Gmail login for a site etc. But I don't want these.</p>
  
  <p>What I want is, if a user enters his Gmail Username and Password in the login form on my website, and submits it, he should log into Gmail. Meaning his Gmail session should begin, so if he opens Gmail in a new tab, he should be logged in already and should be taken to the Inbox directly. I read that cURL might be the way to go. But I need a proper solution!</p>
  
  <p>I'm a fairly experienced developer, hence I'm pretty sure Google won't allow such a thing. But it's a client's requirement, and hence I'm looking for a hack to do it.</p>
  
  <p>Any advice?</p>