Extending email functionality