anicholson / obsidian-google-mail

Fetch emails to Obsidian (as markdown) from Gmail server
55 stars 4 forks source link

Link attachment from the note template #31

Closed nresni closed 9 months ago

nresni commented 9 months ago

Hello,

Thanks for this plugin, I just installed it and it works great !

I have a question about the attachments, is there a possibility to link them in the template in order to find the attachment of the email directly from the note?

thingnotok commented 9 months ago

Absolutely, you can link the attachment in your template like this:

${Body|htmlmd}
${Attachment}

This adds the attachment right after the mail body.