Skip to content

gmail.get.email_data failing for some reason #451

@Brantron

Description

@Brantron

I believe I found a bug but want to make sure my code is correct.

gmail.observe.on('view_thread', () => {
  const emailData = gmail.get.email_data()
  console.log(`${emailData}`)
})

Based on the documentation I believe that when I click an email thread, emailData should return an object which contains data about the email.

When I click an email thread the code executes at the proper time. Unfortunately I get the following in the console. The GET seems to be receiving an undefined param which results in an erroneous response format. The behavior is the same even if I move lines 2-3 out of the observer.

screen shot 2018-03-05 at 10 44 14 am

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions