Fixed a bug that causes context to be saved when render_on_delivery is False.
Don't use a dict as default argument.
Simplified the inner workings of mail.send().
Deprecated mail.from_template.