Build CLI script to fetch personal Gmail account

I'm willing to pay $100 for this. I am a developer. If you're an expert at Google API, this will take an hour. If not, this will take you two days. I need an in-house use only command line tool built to fetch my personal Gmail.

While PHP is preferred, you may code your app in any language that works, or even use a tool.

It should fetch my personal Gmail, and send the data via HTTP to an API on my server. No reporting, no error correcting, just cUrl it blindly to the API that is 100% up.


I have a WordPress site that sends Gmail email via the Google API. I want to process the email responses on my server.

That is, currently when my gmail account receives an email, it ends up in my Gmail inbox. I need those emails in my database on my server somehow.

I am a developer, but I do NOT want to learn the Google API. Here is the documentation for PHP:

[login to view URL]

[login to view URL]

I want a command line tool that fetches new emails from my gmail account. Preferably in PHP, but you can use any language that will run on my AWS Ubuntu server, or on my Kali linux desktop.

The output of your tool should go to this API, in JSON, so you can just cUrl from your application to this url:

[login to view URL]

HTTPS Post Body:

email_from - the email of the gmail item sender

email_subject - the subject of the gmail item

email_body - the text body of the gmail item. We do not need attachments or binaries

secret_key - will be provided. A secret key must be provided so that the API accepts your app's output.

Your app should run via the command line, either on a cron or more likely by running it with a command. Like [if your app was PHP]:

ubuntu/$ php [login to view URL]

It should fetch some default number of new gmails.

It should mark the gmails as "read".

After fetch, it should send the data to the custom API via cUrl.

The server is registered with Google, and the domain is currently SENDING gmails with no problem. I'm using this plugin to send Gmails, which registers a Google API key:

[login to view URL]

Your app should return:

FALSE if failure

1 if success [the default number of emails was fetched]

2 if nothing to fetch [in other words, no new emails to process]

In your reply, please explain how you would build this in a few sentences. I'm a programmer. I don't care about your experience or how great you are.

Just explain what you will do.

Habilidades: PHP, Python, Bash, WordPress Plugin, Linux

Sobre o Cliente:
( 0 comentários ) Las Vegas, United States

ID do Projeto: #33764418

18 freelancers estão ofertando em média $126 nesse trabalho

(99 Comentários)
(57 Comentários)
(96 Comentários)

Hello, I have gone through your outsourced requirements " Build CLI script to fetch personal Gmail account " and have analyzed that I have right skills ( PHP Python Linux Bash WordPress Plugin ) to execute your Mais

$140 USD in 7 dias
(119 Comentários)

Hello, I will first fetch gmail data from your account & then will check following conditions that are mentioned and then will send data to server via CURL. Kindly contact me so that we can discuss more on the specific Mais

$135 USD em 1 dia
(136 Comentários)
(67 Comentários)

Hi there, I have gone through your requirements regarding Build CLI script to fetch personal Gmail account. We have experience in web designing as well as developing. We have 5+ years of experience in different web te Mais

$155 USD in 2 dias
(41 Comentários)

Hello! I am an expert PHP programmer with skills including Bash, Python, Linux, WordPress Plugin and PHP. I've been developing web applications for more than 5 years, starting back in 2013 with custom PHP/MySQL, no fr Mais

$250 USD in 4 dias
(32 Comentários)

Hello I have read your requirements carefully and got a total understanding of the project .kindly discuss your project in detail with me. No fake commitment,100% quality work. I have more than 9 years of experience Mais

$190 USD in 7 dias
(60 Comentários)

Hello, I can write this script in python if that's okay with you. You should be able to run it manually or in intervals using a cron job. The script will use the official python api for google services which includes g Mais

$100 USD em 1 dia
(16 Comentários)

Hi! I would use Python3 + imaplib module instead of Google Api (no need to create keys) then I would make a POST to API using requests module. Regards, Leo

$100 USD in 7 dias
(15 Comentários)

Hi there, my bid is for building a PHP script which uses Google’s REST GMail API to fetch all unread messages, remove the unread label, download the message and then submit a json formatted message over cURL to your si Mais

$60 USD in 6 dias
(10 Comentários)

I have read your proposal carefully and I think I have the skills necessary to handle this task. I will write it in PHP and send all instructions relating to the app. Please contact me if you are interested.

$90 USD in 2 dias
(1 Comentário)

Hi there, I will use googleapiclient & google_auth_oauthlib libraries in python following the Installed App Flow for auth. We will need to create a cloud app at [login to view URL] and you will need to a Mais

$99 USD em 1 dia
(1 Comentário)

Hi, I am expecting sort of conversation with you, I am any time available for further discussion. Thank you.

$140 USD in 7 dias
(2 Comentários)

Hi there, I just read your posting. It sounds like you need an expert in Website development to advise you on everything from the Website development to optimization and customization. I am a WordPress developer and Mais

$200 USD in 7 dias
(0 Comentários)

I have 5 plus years of experince in API development.. and have already delivered a produxt with similar requirement.. fell free to reach out to me.. we can discuss more..

$50 USD in 7 dias
(0 Comentários)

Hi, to be honest I didn't work too much with Google API so this seems like a great opportunity to learn it, get a bit more experience with php and hopefully get a review if you're satisfied with the end result which w Mais

$100 USD in 2 dias
(0 Comentários)