Added back-end for mail sending