Find Jobs
Hire Freelancers

Build CLI script to fetch personal Gmail account

$30-250 USD

Closed
Posted almost 2 years ago

$30-250 USD

Paid on delivery
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. Context: 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.
Project ID: 33764418

About the project

17 proposals
Remote project
Active 2 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
17 freelancers are bidding on average $127 USD for this job
User Avatar
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 esteemed project. I will complete your project within 2 days, LIFETIME error free guarantee and provide 365 days (ONE YEAR) support... ===== Why choose me? ===== 5.0 / 5.0 rating, 100% completion rate, 100% on-time completion, 100% on-budget :) Kindly, check my profile: http://www.freelancer.com/u/BitLabs.html I work smart, hard, and strictly bid only what we can do! No sub-contracting... ever! You will never go wrong choosing me :)
$140 USD in 7 days
5.0 (131 reviews)
6.8
6.8
User Avatar
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 specifics. Thank you
$135 USD in 1 day
4.9 (143 reviews)
6.2
6.2
User Avatar
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 in Website Designing/Development. I am expertise in JavaScript, JS Frameworks, PHP, CI, Laravel, WordPress, AngularJS, MySQL, HTML, CSS, MEAN, MERN etc. I will be available more than 70 hours per week and able to start your project immediately after finalization. Thank you for taking the time to read my application. I look forward to talking with you. I offer an amount that is negotiable. Thanks In Advance Nikhil Singh
$190 USD in 7 days
4.8 (65 reviews)
5.7
5.7
User Avatar
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 gmail and get inbox emails and will POST them to your server using the REST protocol.
$100 USD in 1 day
5.0 (26 reviews)
5.6
5.6
User Avatar
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 site. Happy to answer any questions or concerns. Thx -hans
$60 USD in 6 days
5.0 (14 reviews)
4.5
4.5
User Avatar
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 days
5.0 (6 reviews)
3.7
3.7
User Avatar
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 would help a lot considering I'm new on the platform. So from my current thinking it would probably be best to use Google Oath for authentication, although it's also possible either to have a separate credentials file, save credentials as variables in the script or simply ask for the user and/or password input, although I'm not sure you would prefer the last one. Next, use of ŽGoogle's apiclient would probably be the most painless way to go, default number of mails to check would be saved in variable (although it could also be provided as an argument to the script) and it might be a good idea to add additional function to actually check how many new mails are on the server. Finally I would get the new mails to a tmp directory, would probably need to parse them to json and send to your server. If everything went ok, mark the mails as read on the gmail and remove the tmp mails, if not return failed status.
$100 USD in 2 days
5.0 (2 reviews)
3.0
3.0
User Avatar
Hi, I am expecting sort of conversation with you, I am any time available for further discussion. Thank you.
$140 USD in 7 days
5.0 (2 reviews)
1.9
1.9
User Avatar
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 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Las Vegas, United States
5.0
3
Payment method verified
Member since Apr 15, 2022

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.