trying passing fully rendered pdf as attachment to emails