add exception notification to send error emails