Almost, but sms or email are pre-configured, so program always sends to those no matter whatever origin request are from. That is to prevent people who figure keywords out from getting phone location. Plus it would alert the user that someone else tried to request it.
Here's steps in my conceptual program...
#1 User installs and configures the program. The program itself is also password-protected to prevent unauthorized changes. That step is also where user configures reception email or sms or both at same time. Keyword (or password whatever word is better ) is also set.
Suppose user sets reception email to
and keyword to sendmelocationplease.
#2 User sends an email from
account with same keyword as above. The program, having gotten the request, sends location information to
.
Basically that's it.