Decent Implementation using ActionMailer

I need to implement some email functionality to a web application and I
was
wondering if anyone has implemented a decent mail system and could
possibly
give me some tips. My initial designs are leaving me a bit cold.

In a nutshell, I’m thinking of giving the user the ability to create
their
own templates and allow them to send ad-hoc mails too. Mails
()templates/ad-hoc) are either sent to everyone with an email address in
the
system, to a group of people by things such as Terms (semester), classes
etc
and to an individual.

How do you go about allowing the dynamic creation of templates (thinking
about the dispatcher - design pattern? )

If anyone can offer some ideas, that’d be great.

CIA

-ants


100% naturally selected. 0% designed.