Added smtp capability and finished notification pipeline