Hi all,
I noticed a lot of questions about how to post markdown to Notion pages and have it display in the correct format and I have found a solution which isn’t perfect but it worked well-enough for me, so hopefully it will work for you too!
My goal: Add a page to my “inbox” database in Notion for each outlook email that I tag with aNotionReference category.
Method:
- Watch for tagged emails
- Convert Email Body to Markdown string
- Create Notion record in desired db
- Use Mark2Notion free api to update page with email body formatted nicely.
I used 4 modules:
- Microsoft 365 Email (Outlook) [Watch Emails] (To find the emails)
- Mail Folder: /
- Search: category:aNotionReference
- Fields: Body, Subject
- Limit: 10
- Markdown [HMTL to Markdown] (To convert the email body to markdown)
- HTML: <9. Body:Content> (from outlook module output)
- GitHub Flavored Markdown: No
- Notion [Create a Data Source Item] (Make the notion page but not write the contents yet)
- Input method: Specific
- Data Source ID: Page ID of my “Inbox” DB in Notion where I want the records about my tagged emails to be made
- Fields:
- Name: <9. Subject> (from outlook module output)
- Date:
- **Start Time: *<***9 Created Date Time> (date from email received from outlook module output)
- Tags: Email
HTTP [Make a request] (To send the Markdown to Mark2Notion to convert it to NotionBlocks and send it onwards to Notion for me).
- Authentication type: API Key
- Credentials:
- Name: mark2notion API
- Key: Obtained here under the heading “Your API Key” Dashboard - Mark2Notion
- API key placement: In the header
- API Key parameter name: x-api-key
- URL: https://api.mark2notion.com/api/append
- Method: POST
- [Headers: NONE]
- [Query parameters: NONE]
- Body content type: application/json
- Body structure:
- Specification:
- markdown
- Name: markdown
- Type: text
- Required: Yes
- Multi-line: Yes
- notionToken
- Name: notionToken
- Type: text
- Required: Yes
- Multi-line: Yes
- pageId
- Name: pageId
- Type: text
- Required: Yes
- Multi-line: Yes
- markdown
- Strict: No
- Specification:
- Body content:
- Markdown: <8. Markdown> (from markdown module 2)
- notionToken: This is obtained from the Notion website. Guide on how to connect Notion to Mark2Notion here: Quickstart - mark2notion API
- pageId: <12 Database Item ID> (from the Notion Module which created the page).
Here’s an example:
As you can see it doesn’t work perfectly. It seems to me that whenever the emailer had provided alt-text for an image, that the alt-text is displayed instead of the image.
It’s close enough for my needs. Here’s an example of the text that was generated in Notion based on the text part of the email:
Emojies, links, bolding, headings the lot.
I literally just used make for the first time today so if someone has a better idea let me know!
I hope this helps someone out ![]()
Danielle


