email attachment update