offline:function to eamil picture is added.