Basic mail sending w/ JavaScript.