Decent Implementation using ActionMailer

I need to implement some email functionality to a web application and I
wondering if anyone has implemented a decent mail system and could
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
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
system, to a group of people by things such as Terms (semester), classes
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.



100% naturally selected. 0% designed.