Custom button function: send record Notes in an email

Custom button function: send record Notes in an email

Hi,

I'd like a function that fetches all notes related to a Deal, then sends the Notes list in an email notification to the related Contact. The email would look like this: 
"
Hello,

Here is a summary of this deal: 
{Deals.name}
{Deals.Stage}

{List of notes}
"

Thank you for your help.