fix mail sending bug (making it class attr caused sender function to become bound, messing up its kwargs)