Skip to content

gm_send_draft() not compatible with gm_drafts() #159

Description

@hadley
library(gmailr)
gm_auth_configure()
gm_auth("h.wickham@gmail.com")

in_drafts <- gm_drafts(num_results = 1)
gm_send_draft(in_drafts[[1]])
#> Error in gm_send_draft(in_drafts[[1]]): has_class(draft, "gmail_draft") is not TRUE

Created on 2021-08-05 by the reprex package (v2.0.0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behavior

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions