How and where to register an email account to be used for sending emails from an app to the owner of the device?
<p>I have written an (android) app which can send emails to the user of the device. The user's gmail account is read from the device, and is used both as the email's sender and receiver address. The emails are currently sent via the gmail smtp server, via an email account registered by me (with a name corresponding to the name of the app). The App programmatically logs into my account, with the proper password, and sends the email to the user's account. It worked for a short time.  Then gmail seemed to react on the fact that this email account was being logged into from various parts of the world (i.e. from my App used by various/different customers), and they suspected that the account was being hijacked. And they forced me to change the password. So this setup no longer seems to be working.</p>

<p>So my question is:
HOW can this be achieved?
Using another email account to send the emails through?
HOW?  WHERE?
Or is there another way to use the gmail smtp server for this purpose?</p>

<p>Regards, Terje</p>
