email invitation confirmation functional