How can i use dyndns with ubutntu and send emails from it ?

I want create a free domain with dyndns.com (mydomain.dyndns-at-home.com)

How can I link the domain with ubuntu ?

How can I send emails from this domain ? (info@mydomain.dyndns-at-home.com)