For copying data to/from cloud providers there is rclone [1]. This can copy from Google Drive, but for Google Photos it supports downloading files only at reduced (rather than original) resolution [2].
For backing up email, there is mbsync [3].
[1]: https://rclone.org/