gmailr | Access the Gmail RESTful API from R | Email library

 by   r-lib R Version: v1.0.1 License: Non-SPDX

kandi X-RAY | gmailr Summary

kandi X-RAY | gmailr Summary

gmailr is a R library typically used in Messaging, Email applications. gmailr has no bugs, it has no vulnerabilities and it has low support. However gmailr has a Non-SPDX License. You can download it from GitHub.

Exposing the Gmail API from R.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              gmailr has a low active ecosystem.
              It has 233 star(s) with 59 fork(s). There are 13 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 22 open issues and 125 have been closed. On average issues are closed in 615 days. There are 2 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of gmailr is v1.0.1

            kandi-Quality Quality

              gmailr has 0 bugs and 0 code smells.

            kandi-Security Security

              gmailr has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              gmailr code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              gmailr has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              gmailr releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of gmailr
            Get all kandi verified functions for this library.

            gmailr Key Features

            No Key Features are available at this moment for gmailr.

            gmailr Examples and Code Snippets

            No Code Snippets are available at this moment for gmailr.

            Community Discussions

            QUESTION

            GmailR constantly requires reverification -- any better alternatives?
            Asked 2022-Mar-14 at 18:48

            I've created a script in R that scrapes our clients' websites robots.txt files, checks if they've changed since the last check, and uses the GmailR package to send me an e-mail if they have.

            The purpose of this script is to run in the background on a schedule. Which works -- for a couple of days. Then GmailR decides that it needs to be reauthenticated, and, when Task Scheduler is running this script in the background, it just quietly errors out instead of asking me to reauthenticate.

            Is anyone familiar with a way to either stay authenticated in GmailR or an alternative e-mail package that doesn't require authentication?

            Here's the script I'm using for authentication:

            ...

            ANSWER

            Answered 2022-Mar-14 at 18:48

            You can try this. As I know it requires reverification when you change gmail account - json file.

            Source https://stackoverflow.com/questions/69119714

            QUESTION

            Shiny feedback to user once e-mail is sent
            Asked 2020-Nov-22 at 05:57

            I need some shiny wisdom, please. Below code works well in shiny server part; it sends an e-mail when user clicks actionButton("mailButton", "e-mail!") in ui part with a PDF report attached via gmailr. The only problem I have is that there is no feedback to the user whether e-mail has been sent. What I would ideally like to have is a message box mid-screen (maybe with overlay). When e-mail is sent it would tell so to the user who pressed the input$mailButton (and maybe the box would disappear with timeout of 15 seconds). This event approximately should correspond to the point of print("message sent") in the below code (this does get printed to the terminal). What would be a good way to do display user a confirmation that e-mail has indeed been sent and block inputs while sending is going on (which usually takes 4 seconds)?

            ...

            ANSWER

            Answered 2020-Nov-22 at 05:57

            This seems like a good use case of withProgress() and showNotification():

            Source https://stackoverflow.com/questions/64942320

            QUESTION

            How to send multiple attachments and images(in mail) body using GmailR package?
            Asked 2020-Oct-30 at 10:51

            I have been trying to send 2 images(have to add these in the mail body) and 2 attachments(2 excel files) in one email using the GmailR package but I've not been able to figure it out so far. I've already looked at the syntax from the documentation and this vignette - https://cran.r-project.org/web/packages/gmailr/vignettes/sending_messages.html

            Based on the vignette above I've tried a combination of things mentioned in the vignette(attachment and image sections)to add two images in the mail body + two separate xlsx files. It works perfectly fine when I try to send one image/one attachment (as mentioned in the vignetter) but fails to take more than one image/attachment.

            ...

            ANSWER

            Answered 2020-Oct-30 at 10:51

            Turns out, we just had to pipe in the subcommands again!

            Source https://stackoverflow.com/questions/64572666

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install gmailr

            Get the released version from CRAN:.
            In order to use gmailr you will need to create a google project for it. The easiest way to do this is via the Python Quickstart. Only very heavy usage of the Gmail API requires payment, so use of the API for most people should be free.
            Click the Enable the Gmail API button.
            In the resulting dialog click the DOWNLOAD CLIENT CONFIGURATION on your computer.
            Tell gmailr where the JSON lives, by doing one of the two things Call gm_auth_configure(path = "path/to/downloaded/json") Set the GMAILR_APP environment variable to the location of the JSON file, it is convienent to do this in your .Renviron file with usethis::edit_r_environ(). Then calling gm_auth_configure() with no arguments.
            Call gm_auth() to start the OAuth flow to verify to google that you would like your gmailr project to have access to your email. You will get a scary warning about an untrusted application, this is because the application is the one you just created, click advanced and Go to gmailr to proceed to do the oauth flow.
            If you want to authenticate with fewer scopes than the default use the scopes parameter to gm_auth(). You can see a full list of available scopes from gm_scopes().

            Support

            Send Email with R - Jenny Bryan (@jennybc)
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/r-lib/gmailr.git

          • CLI

            gh repo clone r-lib/gmailr

          • sshUrl

            git@github.com:r-lib/gmailr.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Email Libraries

            PHPMailer

            by PHPMailer

            nodemailer

            by nodemailer

            mjml

            by mjmlio

            Mailspring

            by Foundry376

            postal

            by postalserver

            Try Top Libraries by r-lib

            devtools

            by r-libR

            lintr

            by r-libR

            httr

            by r-libR

            testthat

            by r-libR

            actions

            by r-libJavaScript