# Email In \> Screenshot of email \> Discord message?

**URL:** <https://discourse.nodered.org/t/email-in-screenshot-of-email-discord-message/25609>\
**Category:** General\
**Created:** [27 April 2020 09:49 UTC](https://discourse.nodered.org/t/email-in-screenshot-of-email-discord-message/25609 "2020-04-27T09:49:14Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonuknow](https://avatars.discourse-cdn.com/v4/letter/a/74df32/32.png) [@anonuknow](https://discourse.nodered.org/u/anonuknow)\
**Post date:** [27 April 2020 09:49 UTC](https://discourse.nodered.org/t/email-in-screenshot-of-email-discord-message/25609/1 "2020-04-27T09:49:15Z")

</div>

Is there any way to do this ?

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [27 April 2020 10:50 UTC](https://discourse.nodered.org/t/email-in-screenshot-of-email-discord-message/25609/2 "2020-04-27T10:50:53Z")

</div>

Why a screenshot? Why not just output the info you want as text?

---

<div class="post-metadata">

**Author:** ![anonuknow](https://avatars.discourse-cdn.com/v4/letter/a/74df32/32.png) [@anonuknow](https://discourse.nodered.org/u/anonuknow)\
**Post date:** [27 April 2020 11:01 UTC](https://discourse.nodered.org/t/email-in-screenshot-of-email-discord-message/25609/3 "2020-04-27T11:01:09Z")

</div>

Often have images, sometimes over 2000 words, the way it's formated in page matters, different email templates. A screenshot solves all this in 1 go, i think.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [27 April 2020 13:40 UTC](https://discourse.nodered.org/t/email-in-screenshot-of-email-discord-message/25609/4 "2020-04-27T13:40:10Z")

</div>

OK, fair enough, though email formatting rarely translates across email clients in my experience.

Which takes us to the next issue. If you need a specific view, then you possible need to work within a specific application?

Basically, I think you have 2 options here:

1. If you can access the email via a browser, you could automate a browser session - there is at least 1 node for that.
2. If you need to use a client app, you could automate at the OS level doing a capture of either the screen or specific window as appropriate.

For #1 you could use Node-RED certainly.

For #2, you will need some additional tooling for automating capture of screenshots. On Windows for example, you could probably use something like AutoHotKey. You could possibly drive this from Node-RED but probably easier would be to use AHK's global hot keys to make it easy to capture the appropriate window when a user triggers the hot key and where AHK's script captures the window and sends the resulting image to Node-RED via a call to a web endpoint set up using an http-in/out node combination.

You can use Node-RED as the glue to put it all together, there are several nodes for Discord.

---

<div class="post-metadata">

**Author:** ![anonuknow](https://avatars.discourse-cdn.com/v4/letter/a/74df32/32.png) [@anonuknow](https://discourse.nodered.org/u/anonuknow)\
**Post date:** [27 April 2020 14:11 UTC](https://discourse.nodered.org/t/email-in-screenshot-of-email-discord-message/25609/5 "2020-04-27T14:11:35Z")

</div>

This is what i was thinking about before you posted.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/4/14f3782ace0d57b4cbdafc39fca54a9b354b97ab.png)  
" Most things that you can do manually in the browser can be done using Puppeteer! Here are a few examples to get you started:

- Generate screenshots and PDFs of pages.
- Crawl a SPA (Single-Page Application) and generate pre-rendered content (i.e. "SSR" (Server-Side Rendering)).
- Automate form submission, UI testing, keyboard input, etc."  
I'm also a complete noob, please don't facepalm.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [27 April 2020 17:18 UTC](https://discourse.nodered.org/t/email-in-screenshot-of-email-discord-message/25609/6 "2020-04-27T17:18:00Z")

</div>

Yes, that is option #1 and requires that you can access your emails via a web page.

---

<div class="post-metadata">

**Author:** ![anonuknow](https://avatars.discourse-cdn.com/v4/letter/a/74df32/32.png) [@anonuknow](https://discourse.nodered.org/u/anonuknow)\
**Post date:** [28 April 2020 11:44 UTC](https://discourse.nodered.org/t/email-in-screenshot-of-email-discord-message/25609/7 "2020-04-28T11:44:47Z")

</div>

Managed to do a screenshot of email by using Outlook + Rules (prine every incoming mail) \> clawPDF (wich has automatic saving to jpg/png and auto naming [profile settings]).  
So using a Watch node from the storage tab i have to watch all the new files that are created and then i have to send them 1 by 1 to discord channel.

I have no idea how to do that.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/e/eee1a33a368f680de8a111d7fd2d7350a435ae4a.png)  
Naming scheme : DATE PM(X).png

---

<div class="post-metadata">

**Author:** ![anonuknow](https://avatars.discourse-cdn.com/v4/letter/a/74df32/32.png) [@anonuknow](https://discourse.nodered.org/u/anonuknow)\
**Post date:** [28 April 2020 12:07 UTC](https://discourse.nodered.org/t/email-in-screenshot-of-email-discord-message/25609/8 "2020-04-28T12:07:51Z")

</div>

clawPDF can also send the images trough FTP

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [28 April 2020 12:12 UTC](https://discourse.nodered.org/t/email-in-screenshot-of-email-discord-message/25609/9 "2020-04-28T12:12:40Z")

</div>

Actually, you can probably email direct to a Discord? Certainly it supports webhooks as well. There are also integrations via Zapier so I assume IFTTT as well. So lots of choice.

---

<div class="post-metadata">

**Author:** ![anonuknow](https://avatars.discourse-cdn.com/v4/letter/a/74df32/32.png) [@anonuknow](https://discourse.nodered.org/u/anonuknow)\
**Post date:** [28 April 2020 12:42 UTC](https://discourse.nodered.org/t/email-in-screenshot-of-email-discord-message/25609/10 "2020-04-28T12:42:51Z")

</div>

They are slow (every 15 minutes) , can't screnshot emails, can't send the embeded pictures and have limited actions per free acount (1000).  
I've tried them first but got stuck on the limitations.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [27 June 2020 12:42 UTC](https://discourse.nodered.org/t/email-in-screenshot-of-email-discord-message/25609/11 "2020-06-27T12:42:56Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
