Step-1 Gmail Account setting Turn on the two-step verification and create an App password Step-2 Open the terminal and apply the below commands one by one s…