in reply to Module for fetching body of email from Gmail from msg id?

Gmail supports IMAP, at least if you disable 2fa and click the right options. Just use (say) Mail::IMAPClient or maybe Mail::Box to access the mail account, search by message id, and download the body.

  • Comment on Re: Module for fetching body of email from Gmail from msg id?

Replies are listed 'Best First'.
Re^2: Module for fetching body of email from Gmail from msg id?
by nysus (Parson) on Sep 09, 2019 at 16:05 UTC

      Ah - if you cannot use the rfc822msgid links (as I do in the inverse direction with Mail::URLFor), then that post is bad news in the sense that you can't get there from here :-/

Re^2: Module for fetching body of email from Gmail from msg id?
by nysus (Parson) on Sep 09, 2019 at 15:29 UTC

    Thanks, I'll check those out. I tried Net::IMAP::Simple::Gmail so far but that didn't have a way to look up the body of the msg from the long form of the msg id.

    $PM = "Perl Monk's";
    $MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest Vicar";
    $nysus = $PM . ' ' . $MCF;
    Click here if you love Perl Monks