fix to pass along block with call to mail